X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapitimelineuser.php;h=e8c58e6e8b85d405d596b407484e3699d2d66b5c;hb=bdd15cfe6340df9fd387e817352bea5f16655d0a;hp=abc7fd6a96a13d63c3fd2881dbda0103bbb7885f;hpb=0deaf6c50c0a02dd307b797729adbaf2a973db07;p=quix0rs-gnu-social.git diff --git a/actions/apitimelineuser.php b/actions/apitimelineuser.php index abc7fd6a96..e8c58e6e8b 100644 --- a/actions/apitimelineuser.php +++ b/actions/apitimelineuser.php @@ -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;