Only deliver own content to the relay (possibly fix relay problems)

This commit is contained in:
Michael Vogel 2022-05-20 19:04:03 +02:00
parent 8af0af5f35
commit 7857c329cf

View 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.');