mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 04:53:17 +00:00
Update Inbox, add user domain blocks to Accept handler
This commit is contained in:
parent
279fb28e2a
commit
3fbf8f159e
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue