Commit 4f9b70d5 authored by mmn's avatar mmn

Profile expected in Notice::asActivity from UAS

parent cdf2b288
......@@ -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 {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment