]> git.mxchange.org Git - friendica.git/commitdiff
Some more AP blocking
authorMichael <heluecht@pirati.ca>
Thu, 22 Nov 2018 22:31:48 +0000 (22:31 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 22 Nov 2018 22:31:48 +0000 (22:31 +0000)
src/Protocol/ActivityPub/Transmitter.php

index c0640480eb238062a9ebcd9ee2b688969d418b96..22c8a3518e3520bef551897b96569663f2e7642b 100644 (file)
@@ -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 {