From cdcdc135e8b8f07389d42b8a5271153ec29779ea Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 31 Aug 2020 02:46:24 +0000 Subject: [PATCH] Issue 9094: Avoid DFRN announces --- src/Worker/Delivery.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Worker/Delivery.php b/src/Worker/Delivery.php index 9027598c4e..eb6ae09374 100644 --- a/src/Worker/Delivery.php +++ b/src/Worker/Delivery.php @@ -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; }