]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiusershow.php
Add statusnet: prefix for API to JSON and XML output
[quix0rs-gnu-social.git] / actions / apiusershow.php
index 6c8fad49ba9f5caac1ea15fb73867606a0f4d056..28993102c0065085def40ecdeae7297a7746efdc 100644 (file)
@@ -113,7 +113,7 @@ class ApiUserShowAction extends ApiPrivateAuthAction
 
         if ($this->format == 'xml') {
             $this->initDocument('xml');
-            $this->showTwitterXmlUser($twitter_user);
+            $this->showTwitterXmlUser($twitter_user, 'user', true);
             $this->endDocument('xml');
         } elseif ($this->format == 'json') {
             $this->initDocument('json');