aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2024-11-10 18:53:46 +0100
committerMario Vavti <mario@mariovavti.com>2024-11-10 18:53:46 +0100
commite52714ed167d8cd5c2091efc74b7eb6db1adc4ab (patch)
treeebbeb29c192dd930cc3736943051400bed50df1a /include/attach.php
parent43acb86aabdafd70354887a8ffbf836c12d9a69d (diff)
downloadvolse-hubzilla-e52714ed167d8cd5c2091efc74b7eb6db1adc4ab.tar.gz
volse-hubzilla-e52714ed167d8cd5c2091efc74b7eb6db1adc4ab.tar.bz2
volse-hubzilla-e52714ed167d8cd5c2091efc74b7eb6db1adc4ab.zip
make sure to notify the drop if necessary
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/attach.php b/include/attach.php
index 15594ced8..1d987b473 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -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']);