diff options
author | Zach Copley <zach@status.net> | 2010-05-27 13:49:23 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-05-27 13:49:23 -0700 |
commit | c5b61078e1548fba2820620e2e8f5fcbbda611a8 (patch) | |
tree | c3073b1f909814fb75a1a0f4da1980df2ec754c7 /actions/apitimelinehome.php | |
parent | 3e9b35677746ba0a9877fd1a20ef4e3ae52bc7b5 (diff) |
Pass auth user into Atom feed generators (needed for outputting favorited status in statusnet:notice_info tag)
Diffstat (limited to 'actions/apitimelinehome.php')
-rw-r--r-- | actions/apitimelinehome.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apitimelinehome.php b/actions/apitimelinehome.php index 1618c9923..2a6b7bf5c 100644 --- a/actions/apitimelinehome.php +++ b/actions/apitimelinehome.php @@ -151,7 +151,7 @@ class ApiTimelineHomeAction extends ApiBareAuthAction header('Content-Type: application/atom+xml; charset=utf-8'); - $atom = new AtomNoticeFeed(); + $atom = new AtomNoticeFeed($this->auth_user); $atom->setId($id); $atom->setTitle($title); |