]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/atomusernoticefeed.php
Misses this file to merge. I like the comments.
[quix0rs-gnu-social.git] / lib / atomusernoticefeed.php
index b899ecff4aa4c15da5173ddf9f40f81b49cc9c72..7b7f0a749f32910598d9b7c357b325422f95fdf3 100644 (file)
@@ -62,9 +62,9 @@ class AtomUserNoticeFeed extends AtomNoticeFeed
 
             $profile = $user->getProfile();
 
-            $ao = ActivityObject::fromProfile($profile);
-
-            array_push($ao->extra, $profile->profileInfo($cur));
+            $ao = $profile->asActivityObject();
+            
+            array_push($ao->extra, $profile->profileInfo($this->scoped));
 
             $this->addAuthorRaw($ao->asString('author'));
         }