Merge pull request #11541 from annando/fix-relay

Only deliver own content to the relay (possibly fix relay problems)
pull/11543/head
Hypolite Petovan 2022-05-20 23:42:36 -04:00 zatwierdzone przez GitHub
commit c374630c65
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

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