Move conversation id output to statusnet-specific section

This commit is contained in:
Zach Copley 2011-08-27 19:01:02 -07:00
parent 552cbb3370
commit 8665969890

View File

@ -317,7 +317,6 @@ class ApiAction extends Action
$twitter_status['source'] = $source; $twitter_status['source'] = $source;
$twitter_status['id'] = intval($notice->id); $twitter_status['id'] = intval($notice->id);
$twitter_status['statusnet_conversation_id'] = intval($notice->conversation);
$replier_profile = null; $replier_profile = null;
@ -376,6 +375,7 @@ class ApiAction extends Action
// StatusNet-specific // StatusNet-specific
$twitter_status['statusnet_html'] = $notice->rendered; $twitter_status['statusnet_html'] = $notice->rendered;
$twitter_status['statusnet_conversation_id'] = intval($notice->conversation);
return $twitter_status; return $twitter_status;
} }