summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-09-19 18:34:07 -0700
committerZach Copley <zach@status.net>2009-09-19 18:41:28 -0700
commit8aad3154a7673091291af4b95da2736e98aa75e7 (patch)
tree9f085dcd4f22cb26b07fd854dd8cf1b2dbcd6c59 /actions
parente0ff80f1c7c0d7daa9b81652e2d545b17b47fe05 (diff)
Make statuses/home_timeline return the same thing as statuses/friends_timeline to support apps trying to use the new retweet API method.
Diffstat (limited to 'actions')
-rw-r--r--actions/twitapistatuses.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index ad6654dff..2f10ff966 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -136,6 +136,11 @@ class TwitapistatusesAction extends TwitterapiAction
}
+ function home_timeline($args, $apidata)
+ {
+ call_user_func(array($this, 'friends_timeline'), $args, $apidata);
+ }
+
function user_timeline($args, $apidata)
{
parent::handle($args);