mirror of https://github.com/pixelfed/pixelfed.git
Update Inbox, add user domain blocks to Accept handler
This commit is contained in:
parent
279fb28e2a
commit
3fbf8f159e
|
@ -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 New Issue