Merge pull request #9103 from annando/avoid-dfrn-announce
Issue 9094: Avoid DFRN announces
This commit is contained in:
commit
03c0fca302
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue