]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/twitapistatuses.php
Revert "Added bit about being incompatible with file attachment virtual server"
[quix0rs-gnu-social.git] / actions / twitapistatuses.php
index 360dff27cbda9da08365911340d46d80eb76e875..b0d3e584ba0e202570049a3d0343b9125eaa0a6c 100644 (file)
@@ -236,11 +236,8 @@ class TwitapistatusesAction extends TwitterapiAction
         }
 
         if (empty($status)) {
-
-            // XXX: Note: In this case, Twitter simply returns '200 OK'
-            // No error is given, but the status is not posted to the
-            // user's timeline.     Seems bad.     Shouldn't we throw an
-            // errror? -- Zach
+            $this->clientError(_('Client must provide a \'status\' parameter with a value.'),
+                $code = 403, $apidata['content-type']);
             return;
 
         } else {