mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
make sure to notify the drop if necessary
This commit is contained in:
@@ -1918,6 +1918,10 @@ function attach_store_item($channel, $observer, $file) {
|
||||
$stage = (($r[0]['item_hidden']) ? DROPITEM_NORMAL : DROPITEM_PHASE1);
|
||||
drop_item($r[0]['id'], $stage);
|
||||
|
||||
if (empty($r[0]['item_hidden'])) {
|
||||
Master::Summon(['Notifier', 'drop', $i[0]['id']]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$filetype_parts = explode('/', $file['filetype']);
|
||||
|
||||
Reference in New Issue
Block a user