Profile expected in Notice::asActivity from UAS

This commit is contained in:
Mikael Nordfeldth 2015-02-13 11:41:21 +01:00
parent cdf2b28854
commit 4f9b70d51f

View File

@ -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 {