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
1 changed files with 1 additions and 1 deletions

View 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,