Update Inbox, add user domain blocks to Accept handler

This commit is contained in:
Daniel Supernault 2023-12-18 22:46:09 -07:00
parent 279fb28e2a
commit 3fbf8f159e
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -646,6 +646,10 @@ class Inbox
return;
}
if(AccountService::blocksDomain($target->id, $actor->domain) == true) {
return;
}
$request = FollowRequest::whereFollowerId($actor->id)
->whereFollowingId($target->id)
->whereIsRejected(false)