Merge pull request #13770 from annando/restrict-for-ignored
Restrict the access for servers that the user ignored
This commit is contained in:
commit
f4fddb2921
|
@ -315,7 +315,9 @@ class ActivityPub
|
|||
}
|
||||
}
|
||||
|
||||
// @todo Look for user blocked domains
|
||||
if (DI::userGServer()->isIgnoredByUser($uid, $apcontact['gsid'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Logger::debug('Server is an accepted requester', ['uid' => $uid, 'id' => $apcontact['gsid'], 'url' => $apcontact['baseurl'], 'signer' => $signer, 'called_by' => $called_by]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user