diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-03-10 16:48:14 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-03-10 16:48:14 -0700 |
commit | df07786f28e89474f66a910eeb3d454e3a5b75ba (patch) | |
tree | 132db7a25f6bef662078fe61e1aca0e0ff76adb0 | |
parent | 5caeeabfc266985c8ac2cc19a2143092f9e1b5fd (diff) |
Allow unauthenticated users to view /api/statuses/replies/id.format
(they can already see @replies via friends_timeline anyway).
-rw-r--r-- | actions/twitapistatuses.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index b50a17abd..323c4f1f8 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'); |