aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-22 14:24:07 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-22 14:24:07 +0100
commit47c055e7f39ed4524dae6f0da2f0c64412f794d9 (patch)
treeb17e87b325860c9c37bf65a09311775740cf7000
parent1b17b0193ec08936b5485216ba6bbe9a46ede187 (diff)
downloadvolse-hubzilla-47c055e7f39ed4524dae6f0da2f0c64412f794d9.tar.gz
volse-hubzilla-47c055e7f39ed4524dae6f0da2f0c64412f794d9.tar.bz2
volse-hubzilla-47c055e7f39ed4524dae6f0da2f0c64412f794d9.zip
do not override item_private here anymore
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 04fd25ace..1daa42aef 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -1078,7 +1078,7 @@ function file_activity($channel_id, $object, $allow_cid, $allow_gid, $deny_cid,
$arr['deny_cid'] = perms2str($u_arr_deny_cid);
$arr['deny_gid'] = perms2str($u_arr_deny_gid);
$arr['item_restrict'] = ITEM_HIDDEN;
- $arr['item_private'] = 0;
+ $arr['item_private'] = $private;
$arr['verb'] = ACTIVITY_UPDATE;
$arr['obj_type'] = $objtype;
$arr['object'] = $u_jsonobject;