summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-03-10 16:48:14 -0700
committerZach Copley <zach@controlyourself.ca>2009-03-10 16:48:14 -0700
commitdf07786f28e89474f66a910eeb3d454e3a5b75ba (patch)
tree132db7a25f6bef662078fe61e1aca0e0ff76adb0 /actions
parent5caeeabfc266985c8ac2cc19a2143092f9e1b5fd (diff)
Allow unauthenticated users to view /api/statuses/replies/id.format
(they can already see @replies via friends_timeline anyway).
Diffstat (limited to 'actions')
-rw-r--r--actions/twitapistatuses.php2
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');