API Support "friendica_html"

This commit is contained in:
Michael 2019-09-03 21:11:33 +00:00
parent 6da1901fca
commit a7d23a1196
1 changed files with 2 additions and 0 deletions

View File

@ -3040,6 +3040,8 @@ function api_format_item($item, $type = "json", $status_user = null, $author_use
'statusnet_conversation_id' => $item['parent'],
'external_url' => System::baseUrl() . "/display/" . $item['guid'],
'friendica_activities' => api_format_items_activities($item, $type),
'friendica_title' => $item['title'],
'friendica_html' => BBCode::convert($item['body'], false)
];
if (count($converted["attachments"]) > 0) {