]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apitimelinehome.php
Gah and a 302 in the non-exception-handling redirect too
[quix0rs-gnu-social.git] / actions / apitimelinehome.php
index 02f3282840e1b3b531900e86fb74f32b4597cc4e..42cd08cad75e276f93396d8dc5168fbec156c195 100644 (file)
@@ -178,7 +178,7 @@ class ApiTimelineHomeAction extends ApiBareAuthAction
     {
         $notices = array();
 
-        $stream = new InboxNoticeStream($this->target->getUser(), $this->scoped);
+        $stream = new InboxNoticeStream($this->target, $this->scoped);
         
         $notice = $stream->getNotices(($this->page-1) * $this->count,
                                       $this->count,