mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(AccountService::blocksDomain($target->id, $actor->domain) == true) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$request = FollowRequest::whereFollowerId($actor->id)
|
$request = FollowRequest::whereFollowerId($actor->id)
|
||||||
->whereFollowingId($target->id)
|
->whereFollowingId($target->id)
|
||||||
->whereIsRejected(false)
|
->whereIsRejected(false)
|
||||||
|
|
Loading…
Reference in a new issue