mirror of
https://github.com/friendica/friendica
synced 2025-04-27 17:10:10 +00:00
Merge pull request #13264 from MrPetovan/task/hide-blocklist
Hide blocklist from anonymous users on closed registration nodes
This commit is contained in:
commit
66353e6117
9 changed files with 77 additions and 48 deletions
|
@ -80,8 +80,6 @@ class Profile extends BaseProfile
|
|||
|
||||
protected function rawContent(array $request = [])
|
||||
{
|
||||
header('Vary: Accept', false);
|
||||
|
||||
if (ActivityPub::isRequest()) {
|
||||
$user = $this->database->selectFirst('user', ['uid'], ['nickname' => $this->parameters['nickname'] ?? '', 'account_removed' => false]);
|
||||
if ($user) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue