a few file activities were not getting synced

This commit is contained in:
zotlabs
2017-08-20 21:24:58 -07:00
parent 52c6ea5115
commit 31e62bd19e
4 changed files with 37 additions and 3 deletions

View File

@@ -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;