aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-02 21:17:18 -0700
committerzotlabs <mike@macgirvin.com>2016-11-02 21:17:18 -0700
commit92f5a2b6a694e857dacb47a60a5bdaa23b1c8947 (patch)
tree827c1a0454ed528585b79c05f42355e094e05f5a /include
parentae092efb497f25262dc8b5e8c91d1707f36bcfd9 (diff)
downloadvolse-hubzilla-92f5a2b6a694e857dacb47a60a5bdaa23b1c8947.tar.gz
volse-hubzilla-92f5a2b6a694e857dacb47a60a5bdaa23b1c8947.tar.bz2
volse-hubzilla-92f5a2b6a694e857dacb47a60a5bdaa23b1c8947.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
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';