forked from GNUsocial/gnu-social
501 Not Implemented on timelines for remote users.
This commit is contained in:
parent
b0e767eaf1
commit
f7553d73a2
@ -79,6 +79,10 @@ class ApiTimelineUserAction extends ApiBareAuthAction
|
|||||||
$this->clientError(_('No such user.'), 404);
|
$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();
|
$this->notices = $this->getNotices();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user