We sent a User object instead of Profile to InboxNoticeStream (thanks postblue)
This commit is contained in:
parent
4e8697c96e
commit
0bc7d9c6c6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user