Update ActivityPub helpers

pull/5880/head
Daniel Supernault 3 months ago
parent fb2d25a2c8
commit 75e7a678ce
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -1278,8 +1278,9 @@ class Helpers
'inbox_url' => $res['inbox'], 'inbox_url' => $res['inbox'],
'outbox_url' => $res['outbox'] ?? null, 'outbox_url' => $res['outbox'] ?? null,
'public_key' => $res['publicKey']['publicKeyPem'], 'public_key' => $res['publicKey']['publicKeyPem'],
'indexable' => $res['indexable'] ?? false, 'indexable' => isset($res['indexable']) ? (bool) $res['indexable'] : false,
'moved_to_profile_id' => $movedToPid, 'moved_to_profile_id' => $movedToPid,
'is_private' => isset($res['manuallyApprovesFollowers']) ? (bool) $res['manuallyApprovesFollowers'] : true,
]; ];
} }

Loading…
Cancel
Save