API Support "friendica_html"
This commit is contained in:
parent
6da1901fca
commit
a7d23a1196
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue