Add about field conversion to HTML in Protocol\ActivityPub\Transmitter
This commit is contained in:
parent
bfea5d42ad
commit
c147446c93
|
@ -264,7 +264,7 @@ class Transmitter
|
|||
$data['name'] = $contact['name'];
|
||||
$data['vcard:hasAddress'] = ['@type' => 'vcard:Home', 'vcard:country-name' => $profile['country-name'],
|
||||
'vcard:region' => $profile['region'], 'vcard:locality' => $profile['locality']];
|
||||
$data['summary'] = $contact['about'];
|
||||
$data['summary'] = BBCode::convert($contact['about'], false, 9);
|
||||
$data['url'] = $contact['url'];
|
||||
$data['manuallyApprovesFollowers'] = in_array($user['page-flags'], [User::PAGE_FLAGS_NORMAL, User::PAGE_FLAGS_PRVGROUP]);
|
||||
$data['publicKey'] = ['id' => $contact['url'] . '#main-key',
|
||||
|
|
Loading…
Reference in New Issue
Block a user