]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Delivery.php
Don't add already queued items from Diaspora to the queue again
[friendica.git] / src / Worker / Delivery.php
index 0a77f7b5be18b4d26848fe718f633139df2a7bad..2b9a00176e658d442cd45aa6397046315d7e331b 100644 (file)
@@ -322,7 +322,7 @@ class Delivery {
 
                                if ($deliver_status < 0) {
                                        logger('notifier: delivery failed: queuing message');
-                                       Queue::add($contact['id'], NETWORK_DFRN, $atom);
+                                       Queue::add($contact['id'], NETWORK_DFRN, $atom, false, $target_item['guid']);
 
                                        // The message could not be delivered. We mark the contact as "dead"
                                        Contact::markForArchival($contact);