Profile expected in Notice::asActivity from UAS
This commit is contained in:
parent
cdf2b28854
commit
4f9b70d51f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user