mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:15:14 +00:00
force 'discoverable' to boolean
This commit is contained in:
parent
d44c832ee5
commit
7f5fb3ba09
1 changed files with 1 additions and 1 deletions
|
@ -1177,7 +1177,7 @@ class Activity {
|
|||
$ret['following'] = z_root() . '/following/' . $c['channel_address'];
|
||||
|
||||
$ret['endpoints'] = [ 'sharedInbox' => z_root() . '/inbox' ];
|
||||
$ret['discoverable'] = 1 - intval($p['xchan_hidden']);
|
||||
$ret['discoverable'] = ((1 - intval($p['xchan_hidden'])) ? true : false);
|
||||
$ret['publicKey'] = [
|
||||
'id' => $p['xchan_url'],
|
||||
'owner' => $p['xchan_url'],
|
||||
|
|
Loading…
Reference in a new issue