mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:00:15 +00:00
Restrict the access for servers that the user ignored
This commit is contained in:
parent
04cdd3e8ec
commit
cb816bde66
1 changed files with 3 additions and 1 deletions
|
@ -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]);
|
Logger::debug('Server is an accepted requester', ['uid' => $uid, 'id' => $apcontact['gsid'], 'url' => $apcontact['baseurl'], 'signer' => $signer, 'called_by' => $called_by]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue