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);
|
$notices = $this->getNoticesBetween($start, $end);
|
||||||
foreach ($notices as $noticeAct) {
|
foreach ($notices as $noticeAct) {
|
||||||
try {
|
try {
|
||||||
$nact = $noticeAct->asActivity($this->user);
|
$nact = $noticeAct->asActivity($this->user->getProfile());
|
||||||
if ($format == Feed::ATOM) {
|
if ($format == Feed::ATOM) {
|
||||||
$nact->outputTo($this, false, false);
|
$nact->outputTo($this, false, false);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user