aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-06 20:25:52 -0700
committerredmatrix <git@macgirvin.com>2016-04-06 20:25:52 -0700
commitaa0412d83bd4ffb1e5208020ccae269e7cc13a3b (patch)
treeb7df9b1ca4f29414a9c9e7f6f11648417a82a20c /include
parent861f5232d3b6c5bd2cf8bd895f57424b730ce270 (diff)
downloadvolse-hubzilla-aa0412d83bd4ffb1e5208020ccae269e7cc13a3b.tar.gz
volse-hubzilla-aa0412d83bd4ffb1e5208020ccae269e7cc13a3b.tar.bz2
volse-hubzilla-aa0412d83bd4ffb1e5208020ccae269e7cc13a3b.zip
use the explicit form of build_sync_packet so that file/photo sync will work even when the actual observer is a guest (with permission to upload).
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 aabcd2744..8d8cfe65f 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -868,7 +868,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
$sync = attach_export_data($channel,$hash);
if($sync)
- build_sync_packet(0,array('file' => array($sync)));
+ build_sync_packet($channel['channel_id'],array('file' => array($sync)));
return $ret;
}