From: Michael Date: Thu, 22 Nov 2018 22:31:48 +0000 (+0000) Subject: Some more AP blocking X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ea5ba309dc788eb931d77151472b8aa1e0480f7d;p=friendica.git Some more AP blocking --- 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 {