]> git.mxchange.org Git - friendica.git/commitdiff
Issue 9094: Avoid DFRN announces
authorMichael <heluecht@pirati.ca>
Mon, 31 Aug 2020 02:46:24 +0000 (02:46 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 31 Aug 2020 02:46:24 +0000 (02:46 +0000)
src/Worker/Delivery.php

index 9027598c4eaff281684636d99e227149d26ca37d..eb6ae09374d586a3228ac6a3e1a7d5eeb9b9b951 100644 (file)
@@ -83,6 +83,10 @@ class Delivery
                        $itemdata = Model\Item::select([], $condition, $params);
 
                        while ($item = Model\Item::fetch($itemdata)) {
+                               if ($item['verb'] == Activity::ANNOUNCE) {
+                                       continue;
+                               }
+       
                                if ($item['id'] == $parent_id) {
                                        $parent = $item;
                                }