sforkowany z mirror/friendica
Remove simple_html parameter from about field conversion in Protocol\ActivityPub\Transmitter
rodzic
0f85f5d167
commit
064cc227c0
|
@ -264,7 +264,7 @@ class Transmitter
|
||||||
$data['name'] = $contact['name'];
|
$data['name'] = $contact['name'];
|
||||||
$data['vcard:hasAddress'] = ['@type' => 'vcard:Home', 'vcard:country-name' => $profile['country-name'],
|
$data['vcard:hasAddress'] = ['@type' => 'vcard:Home', 'vcard:country-name' => $profile['country-name'],
|
||||||
'vcard:region' => $profile['region'], 'vcard:locality' => $profile['locality']];
|
'vcard:region' => $profile['region'], 'vcard:locality' => $profile['locality']];
|
||||||
$data['summary'] = BBCode::convert($contact['about'], false, 9);
|
$data['summary'] = BBCode::convert($contact['about'], false);
|
||||||
$data['url'] = $contact['url'];
|
$data['url'] = $contact['url'];
|
||||||
$data['manuallyApprovesFollowers'] = in_array($user['page-flags'], [User::PAGE_FLAGS_NORMAL, User::PAGE_FLAGS_PRVGROUP]);
|
$data['manuallyApprovesFollowers'] = in_array($user['page-flags'], [User::PAGE_FLAGS_NORMAL, User::PAGE_FLAGS_PRVGROUP]);
|
||||||
$data['publicKey'] = ['id' => $contact['url'] . '#main-key',
|
$data['publicKey'] = ['id' => $contact['url'] . '#main-key',
|
||||||
|
|
Ładowanie…
Reference in New Issue