protected function rawContent(array $request = [])
{
- self::checkAllowedScope(self::SCOPE_READ);
+ $this->checkAllowedScope(self::SCOPE_READ);
$uid = self::getCurrentUserID();
$page = $request['page'] ?? null;
$inbox = ActivityPub\ClientToServer::getPublicInbox($uid, $page, $request['max_id'] ?? null);
}
- System::jsonExit($inbox, 'application/activity+json');
+ $this->jsonExit($inbox, 'application/activity+json');
}
protected function post(array $request = [])