Update Inbox, add user domain blocks to Announce handler

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

View file

@ -589,6 +589,10 @@ class Inbox
return;
}
if(AccountService::blocksDomain($parent->profile_id, $actor->domain) == true) {
return;
}
$blocks = UserFilterService::blocks($parent->profile_id);
if($blocks && in_array($actor->id, $blocks)) {
return;