1
0
Fork 0

Update Inbox, add user domain blocks to Follow handler

This commit is contained in:
Daniel Supernault 2023-12-18 22:37:34 -07:00
parent a7f96d8194
commit c89dc45e8d
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1
1 changed files with 4 additions and 0 deletions

View File

@ -514,6 +514,10 @@ class Inbox
return;
}
if(AccountService::blocksDomain($target->id, $actor->domain) == true) {
return;
}
if(
Follower::whereProfileId($actor->id)
->whereFollowingId($target->id)