Some more AP blocking

This commit is contained in:
Michael 2018-11-22 22:31:48 +00:00
parent 2f7b138b09
commit ea5ba309dc

View file

@ -498,6 +498,10 @@ class Transmitter
$blindcopy = in_array($element, ['bto', 'bcc']); $blindcopy = in_array($element, ['bto', 'bcc']);
foreach ($permissions[$element] as $receiver) { foreach ($permissions[$element] as $receiver) {
if (Network::isUrlBlocked($receiver)) {
continue;
}
if ($receiver == $item_profile['followers']) { if ($receiver == $item_profile['followers']) {
$inboxes = array_merge($inboxes, self::fetchTargetInboxesforUser($uid, $personal)); $inboxes = array_merge($inboxes, self::fetchTargetInboxesforUser($uid, $personal));
} else { } else {