aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2024-01-24 16:40:05 +0100
committerMario Vavti <mario@mariovavti.com>2024-01-24 16:40:05 +0100
commit9449e8bd61a57651a19838467f8d3350f26e9a91 (patch)
tree79f11a056d75005491cd35e787a42ac3b1c71abd /Zotlabs
parentf13af0f60b6bc91eab724fbd22387831736e0567 (diff)
downloadvolse-hubzilla-9449e8bd61a57651a19838467f8d3350f26e9a91.tar.gz
volse-hubzilla-9449e8bd61a57651a19838467f8d3350f26e9a91.tar.bz2
volse-hubzilla-9449e8bd61a57651a19838467f8d3350f26e9a91.zip
fix issue where if an item is created and deleted again before the notifier has completed the queueworker will dismiss the delete because it looks like a duplicate entry
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index be1ca15c0..b8067bc56 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1827,7 +1827,7 @@ class Libzot {
if ($relay && $item_id) {
logger('process_delivery: invoking relay');
- Master::Summon(['Notifier', 'relay', intval($item_id)]);
+ Master::Summon(['Notifier', 'relay', intval($item_id), 'delete']);
$DR->update('relayed');
$result[] = $DR->get();
}