mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:50:11 +00:00
Fix profile probing via Pleroma
This commit is contained in:
parent
bfbfd94f2e
commit
51d549639d
2 changed files with 5 additions and 8 deletions
|
@ -354,7 +354,7 @@ class Transmitter
|
|||
|
||||
$data['url'] = $owner['url'];
|
||||
$data['manuallyApprovesFollowers'] = in_array($owner['page-flags'], [User::PAGE_FLAGS_NORMAL, User::PAGE_FLAGS_PRVGROUP]);
|
||||
$data['discoverable'] = $owner['net-publish'];
|
||||
$data['discoverable'] = (bool)$owner['net-publish'];
|
||||
$data['publicKey'] = ['id' => $owner['url'] . '#main-key',
|
||||
'owner' => $owner['url'],
|
||||
'publicKeyPem' => $owner['pubkey']];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue