Prevent ActivityPub message transmission to blocked followers
This commit is contained in:
parent
7fcaa1f239
commit
6b8c8b03c6
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ class Transmitter
|
|||
$networks = [Protocol::ACTIVITYPUB, Protocol::OSTATUS];
|
||||
}
|
||||
|
||||
$condition = ['uid' => $uid, 'archive' => false, 'pending' => false];
|
||||
$condition = ['uid' => $uid, 'archive' => false, 'pending' => false, 'blocked' => false];
|
||||
|
||||
if (!empty($uid)) {
|
||||
$condition['rel'] = [Contact::FOLLOWER, Contact::FRIEND];
|
||||
|
|
Loading…
Reference in a new issue