Merge pull request #11541 from annando/fix-relay

Only deliver own content to the relay (possibly fix relay problems)
This commit is contained in:
Hypolite Petovan 2022-05-20 23:42:36 -04:00 committed by GitHub
commit c374630c65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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