Restrict the access for servers that the user ignored

This commit is contained in:
Michael 2023-12-26 08:32:17 +00:00
parent 04cdd3e8ec
commit cb816bde66

View File

@ -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]);