]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
We sent a User object instead of Profile to InboxNoticeStream (thanks postblue)
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 7 Mar 2014 00:27:14 +0000 (01:27 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 7 Mar 2014 00:27:14 +0000 (01:27 +0100)
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,