https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c7cbdb4
)
Merge pull request #9103 from annando/avoid-dfrn-announce
author
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Mon, 31 Aug 2020 05:15:41 +0000
(07:15 +0200)
committer
GitHub
<noreply@github.com>
Mon, 31 Aug 2020 05:15:41 +0000
(07:15 +0200)
Issue 9094: Avoid DFRN announces
src/Worker/Delivery.php
patch
|
blob
|
history
diff --git
a/src/Worker/Delivery.php
b/src/Worker/Delivery.php
index
9027598
..
eb6ae09
100644
(file)
--- 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;
}