mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Don't set a profile to "discoverable" for restricted hosts
This commit is contained in:
parent
9592292dba
commit
73df36ca72
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ class Transmitter
|
|||
|
||||
$data['url'] = $owner['url'];
|
||||
$data['manuallyApprovesFollowers'] = in_array($owner['page-flags'], [User::PAGE_FLAGS_NORMAL, User::PAGE_FLAGS_PRVGROUP]);
|
||||
$data['discoverable'] = (bool)$owner['net-publish'];
|
||||
$data['discoverable'] = (bool)$owner['net-publish'] && $full;
|
||||
$data['publicKey'] = ['id' => $owner['url'] . '#main-key',
|
||||
'owner' => $owner['url'],
|
||||
'publicKeyPem' => $owner['pubkey']];
|
||||
|
|
Loading…
Reference in a new issue