From: Mikael Nordfeldth Date: Fri, 7 Mar 2014 00:27:14 +0000 (+0100) Subject: We sent a User object instead of Profile to InboxNoticeStream (thanks postblue) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0bc7d9c6c6db4ba93d3b75acb86342c42a2785be;p=quix0rs-gnu-social.git We sent a User object instead of Profile to InboxNoticeStream (thanks postblue) --- 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,