Merge pull request #9103 from annando/avoid-dfrn-announce

Issue 9094: Avoid DFRN announces
This commit is contained in:
Tobias Diekershoff 2020-08-31 07:15:41 +02:00 committed by GitHub
commit 03c0fca302
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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;
}