forked from GNUsocial/gnu-social
We sent a User object instead of Profile to InboxNoticeStream (thanks postblue)
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user