]> git.mxchange.org Git - friendica.git/commitdiff
Only deliver own content to the relay (possibly fix relay problems)
authorMichael Vogel <icarus@dabo.de>
Fri, 20 May 2022 17:04:03 +0000 (19:04 +0200)
committerMichael Vogel <icarus@dabo.de>
Fri, 20 May 2022 17:04:03 +0000 (19:04 +0200)
src/Worker/Notifier.php

index e248c944dd39d7faedf94f177aacef3e5e1d96b3..2039448e1449bc15f1c00b12a913e57095ea24ea 100644 (file)
@@ -754,7 +754,6 @@ class Notifier
 
                        if (in_array($target_item['private'], [Item::PUBLIC])) {
                                $inboxes = ActivityPub\Transmitter::addRelayServerInboxesForItem($parent['id'], $inboxes);
-                               $relay_inboxes = ActivityPub\Transmitter::addRelayServerInboxes([]);
                        }
 
                        Logger::info('Remote item ' . $target_item['id'] . ' with URL ' . $target_item['uri'] . ' will be distributed.');