From: Zach Copley Date: Tue, 10 Mar 2009 23:48:14 +0000 (-0700) Subject: Allow unauthenticated users to view /api/statuses/replies/id.format X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df07786f28e89474f66a910eeb3d454e3a5b75ba;p=quix0rs-gnu-social.git Allow unauthenticated users to view /api/statuses/replies/id.format (they can already see @replies via friends_timeline anyway). --- diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index b50a17abde..323c4f1f88 100644 --- a/actions/twitapistatuses.php +++ b/actions/twitapistatuses.php @@ -355,8 +355,8 @@ class TwitapistatusesAction extends TwitterapiAction $since_id = $this->arg('since_id'); $before_id = $this->arg('before_id'); + $user = $this->get_user($apidata['api_arg'], $apidata); $this->auth_user = $apidata['user']; - $user = $this->auth_user; $profile = $user->getProfile(); $sitename = common_config('site', 'name');