]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/apiaction.php
Merge branch 'master' into 0.9.x
[quix0rs-gnu-social.git] / lib / apiaction.php
index d5023f7c55b17b22678f7a3bdb7e6ad6355f29b2..2de513cbb1ab71431ce0d2918e3d054352144625 100644 (file)
@@ -726,6 +726,12 @@ class ApiAction extends Action
         $this->endDocument('xml');
     }
 
+    function showSingleAtomStatus($notice)
+    {
+        header('Content-Type: application/atom+xml; charset=utf-8');
+        print $notice->asAtomEntry(true, true, true, $this->auth_user);
+    }
+
     function show_single_json_status($notice)
     {
         $this->initDocument('json');