mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 13:03:16 +00:00
Update Inbox, add user domain blocks to Follow handler
This commit is contained in:
parent
a7f96d8194
commit
c89dc45e8d
1 changed files with 4 additions and 0 deletions
|
@ -514,6 +514,10 @@ class Inbox
|
|||
return;
|
||||
}
|
||||
|
||||
if(AccountService::blocksDomain($target->id, $actor->domain) == true) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(
|
||||
Follower::whereProfileId($actor->id)
|
||||
->whereFollowingId($target->id)
|
||||
|
|
Loading…
Reference in a new issue