diff --git a/include/api.php b/include/api.php index 80f448c268..ea1ba27e40 100644 --- a/include/api.php +++ b/include/api.php @@ -821,6 +821,9 @@ 'statusnet_conversation_id' => $lastwall['parent'], ); + if ($lastwall['title'] != "") + $status_info['statusnet_html'] = "

".bbcode($lastwall['title'])."

\n".$status_info['statusnet_html']; + $entities = api_get_entitities($status_info['text'], $lastwall['body']); if (count($entities) > 0) $status_info['entities'] = $entities; @@ -915,6 +918,9 @@ 'statusnet_conversation_id' => $lastwall['parent'], ); + if ($lastwall['title'] != "") + $user_info['statusnet_html'] = "

".bbcode($lastwall['title'])."

\n".$user_info['statusnet_html']; + $entities = api_get_entitities($user_info['text'], $lastwall['body']); if (count($entities) > 0) $user_info['entities'] = $entities; @@ -1842,6 +1848,9 @@ 'statusnet_conversation_id' => $item['parent'], ); + if ($item['title'] != "") + $status['statusnet_html'] = "

".bbcode($item['title'])."

\n".$status['statusnet_html']; + $entities = api_get_entitities($status['text'], $item['body']); if (count($entities) > 0) $status['entities'] = $entities;