$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'));
}