From 0bc7d9c6c6db4ba93d3b75acb86342c42a2785be Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 7 Mar 2014 01:27:14 +0100 Subject: [PATCH] We sent a User object instead of Profile to InboxNoticeStream (thanks postblue) --- actions/apitimelinehome.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5