diff --git a/actions/apitimelinehome.php b/actions/apitimelinehome.php index 02f3282840..42cd08cad7 100644 --- a/actions/apitimelinehome.php +++ b/actions/apitimelinehome.php @@ -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,