Issue 9094: Avoid DFRN announces

This commit is contained in:
Michael 2020-08-31 02:46:24 +00:00
parent a5be6f9276
commit cdcdc135e8

View File

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