Some more AP blocking
This commit is contained in:
parent
2f7b138b09
commit
ea5ba309dc
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue