]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
501 Not Implemented on timelines for remote users.
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 25 Feb 2015 15:31:02 +0000 (16:31 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 25 Feb 2015 15:31:02 +0000 (16:31 +0100)
actions/apitimelineuser.php

index abc7fd6a96a13d63c3fd2881dbda0103bbb7885f..e8c58e6e8b85d405d596b407484e3699d2d66b5c 100644 (file)
@@ -79,6 +79,10 @@ class ApiTimelineUserAction extends ApiBareAuthAction
             $this->clientError(_('No such user.'), 404);
         }
 
+        if (!$this->target->isLocal()) {
+            $this->serverError(_('Remote user timelines are not available here yet.'), 501);
+        }
+
         $this->notices = $this->getNotices();
 
         return true;