We sent a User object instead of Profile to InboxNoticeStream (thanks postblue)

This commit is contained in:
Mikael Nordfeldth 2014-03-07 01:27:14 +01:00
parent 4e8697c96e
commit 0bc7d9c6c6

View File

@ -178,7 +178,7 @@ class ApiTimelineHomeAction extends ApiBareAuthAction
{ {
$notices = array(); $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, $notice = $stream->getNotices(($this->page-1) * $this->count,
$this->count, $this->count,