]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Move conversation id output to statusnet-specific section
authorZach Copley <zach@status.net>
Sun, 28 Aug 2011 02:01:02 +0000 (19:01 -0700)
committerZach Copley <zach@status.net>
Sun, 28 Aug 2011 02:01:02 +0000 (19:01 -0700)
lib/apiaction.php

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