]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Profile expected in Notice::asActivity from UAS
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 13 Feb 2015 10:41:21 +0000 (11:41 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 13 Feb 2015 10:41:21 +0000 (11:41 +0100)
lib/useractivitystream.php

index a94fee21393e6414228e52abdd1528909a5f181e..a0a2a26854e203a84d21680cbcd1ed6f7979be15 100644 (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 {