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

View file

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