From ea5ba309dc788eb931d77151472b8aa1e0480f7d Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 22 Nov 2018 22:31:48 +0000 Subject: [PATCH] Some more AP blocking --- src/Protocol/ActivityPub/Transmitter.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index c0640480eb..22c8a3518e 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -498,6 +498,10 @@ class Transmitter $blindcopy = in_array($element, ['bto', 'bcc']); foreach ($permissions[$element] as $receiver) { + if (Network::isUrlBlocked($receiver)) { + continue; + } + if ($receiver == $item_profile['followers']) { $inboxes = array_merge($inboxes, self::fetchTargetInboxesforUser($uid, $personal)); } else { -- 2.39.5