mirror of
https://github.com/friendica/friendica
synced 2024-06-08 05:30:15 +02:00
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]);
|
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