From 92f5a2b6a694e857dacb47a60a5bdaa23b1c8947 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 2 Nov 2016 21:17:18 -0700 Subject: issue #409 - use item_notshown for file activities to prevent display but allow transmitting to other sites. We currently allow file acitivies with item_hidden to be transmitted as a special case but eventually we want to remove the special case and disallow items with item_hidden from being propagated. --- include/attach.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/attach.php') diff --git a/include/attach.php b/include/attach.php index 9394c6366..f5453096e 100644 --- a/include/attach.php +++ b/include/attach.php @@ -1581,7 +1581,7 @@ function file_activity($channel_id, $object, $allow_cid, $allow_gid, $deny_cid, $arr['author_xchan'] = $poster['xchan_hash']; $arr['owner_xchan'] = $poster['xchan_hash']; $arr['title'] = ''; - $arr['item_hidden'] = 1; + $arr['item_notshown'] = 1; $arr['obj_type'] = $objtype; $arr['resource_id'] = $object['hash']; $arr['resource_type'] = 'attach'; -- cgit v1.2.3