Merge pull request #11541 from annando/fix-relay
Only deliver own content to the relay (possibly fix relay problems)
This commit is contained in:
commit
c374630c65
|
@ -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