aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Wall_attach.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-20 21:24:58 -0700
committerzotlabs <mike@macgirvin.com>2017-08-20 21:24:58 -0700
commit31e62bd19e2fcfe70487ab38ee6b688e48a79c95 (patch)
tree69a4b2308cf0dac50001ee012eb7405cd1969c31 /Zotlabs/Module/Wall_attach.php
parent52c6ea51152b6255b45ffb68181fa63413a6fffc (diff)
downloadvolse-hubzilla-31e62bd19e2fcfe70487ab38ee6b688e48a79c95.tar.gz
volse-hubzilla-31e62bd19e2fcfe70487ab38ee6b688e48a79c95.tar.bz2
volse-hubzilla-31e62bd19e2fcfe70487ab38ee6b688e48a79c95.zip
a few file activities were not getting synced
Diffstat (limited to 'Zotlabs/Module/Wall_attach.php')
-rw-r--r--Zotlabs/Module/Wall_attach.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Module/Wall_attach.php b/Zotlabs/Module/Wall_attach.php
index 03d4cb37b..e001ad929 100644
--- a/Zotlabs/Module/Wall_attach.php
+++ b/Zotlabs/Module/Wall_attach.php
@@ -97,6 +97,12 @@ class Wall_attach extends \Zotlabs\Web\Controller {
$s = "\n\n" . '[attachment]' . $r['data']['hash'] . ',' . $r['data']['revision'] . '[/attachment]' . "\n";
}
+
+ $sync = attach_export_data($channel,$r['data']['hash']);
+ if($sync) {
+ build_sync_packet($channel['channel_id'],array('file' => array($sync)));
+ }
+
if($using_api)
return $s;