sync packet not generated when deleting a file using the web browser interface

This commit is contained in:
zotlabs 2017-11-24 00:12:19 -08:00
parent 3bb0efd2cb
commit 874cff1a87

View file

@ -103,6 +103,11 @@ class Filestorage extends \Zotlabs\Web\Controller {
attach_delete($owner, $f['hash']);
$sync = attach_export_data($channel, $f['hash'], true);
if($sync) {
build_sync_packet($channel['channel_id'], array('file' => array($sync)));
}
goaway(dirname($url));
}