mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:35:30 +00:00
sync packet not generated when deleting a file using the web browser interface
This commit is contained in:
parent
3bb0efd2cb
commit
874cff1a87
1 changed files with 5 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue