From: Mikael Nordfeldth Date: Fri, 13 Feb 2015 10:41:21 +0000 (+0100) Subject: Profile expected in Notice::asActivity from UAS X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4f9b70d;p=quix0rs-gnu-social.git Profile expected in Notice::asActivity from UAS --- diff --git a/lib/useractivitystream.php b/lib/useractivitystream.php index a94fee2139..a0a2a26854 100644 --- a/lib/useractivitystream.php +++ b/lib/useractivitystream.php @@ -124,7 +124,7 @@ class UserActivityStream extends AtomUserNoticeFeed $notices = $this->getNoticesBetween($start, $end); foreach ($notices as $noticeAct) { try { - $nact = $noticeAct->asActivity($this->user); + $nact = $noticeAct->asActivity($this->user->getProfile()); if ($format == Feed::ATOM) { $nact->outputTo($this, false, false); } else {