]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Delivery.php
Don't transmit to archived inboxes
[friendica.git] / src / Worker / Delivery.php
index 44041957fc428472e56a1df7366e8a566f25fd36..8e49ee4715cce9b5a5c103f015a4e4f90f4ab7c7 100644 (file)
@@ -193,9 +193,9 @@ class Delivery
                        return;
                }
 
-               // We don't deliver our items to blocked or pending contacts, and not to ourselves either
+               // We don't deliver our items to blocked, archived or pending contacts, and not to ourselves either
                $contact = DBA::selectFirst('contact', [],
-                       ['id' => $contact_id, 'blocked' => false, 'pending' => false, 'self' => false]
+                       ['id' => $contact_id, 'archive' => false, 'blocked' => false, 'pending' => false, 'self' => false]
                );
                if (!DBA::isResult($contact)) {
                        self::setFailedQueue($cmd, $target_item);