Allow unauthenticated users to view /api/statuses/replies/id.format

(they can already see @replies via friends_timeline anyway).
This commit is contained in:
Zach Copley 2009-03-10 16:48:14 -07:00
parent 5caeeabfc2
commit df07786f28

View File

@ -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');