From: Mikael Nordfeldth Date: Wed, 25 Feb 2015 15:31:02 +0000 (+0100) Subject: 501 Not Implemented on timelines for remote users. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7553d73a2aba7abe1bf0bf8eb665d55dce52e1c;p=quix0rs-gnu-social.git 501 Not Implemented on timelines for remote users. --- 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;