Only deliver own content to the relay (possibly fix relay problems)
This commit is contained in:
parent
8af0af5f35
commit
7857c329cf
|
@ -754,7 +754,6 @@ class Notifier
|
||||||
|
|
||||||
if (in_array($target_item['private'], [Item::PUBLIC])) {
|
if (in_array($target_item['private'], [Item::PUBLIC])) {
|
||||||
$inboxes = ActivityPub\Transmitter::addRelayServerInboxesForItem($parent['id'], $inboxes);
|
$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.');
|
Logger::info('Remote item ' . $target_item['id'] . ' with URL ' . $target_item['uri'] . ' will be distributed.');
|
||||||
|
|
Loading…
Reference in a new issue