diff --git a/src/Module/Profile.php b/src/Module/Profile.php index a9a1fe6d09..62598400d4 100644 --- a/src/Module/Profile.php +++ b/src/Module/Profile.php @@ -65,7 +65,7 @@ class Profile extends BaseModule // Known deleted user $data = [ '@context' => ActivityPub::CONTEXT, - 'id' => System::baseUrl() . '/profile/' . self::$which, + 'id' => self::getApp()->getBaseUrl() . '/profile/' . self::$which, 'type' => 'Tombstone', 'published' => DateTimeFormat::utcNow(DateTimeFormat::ATOM), 'updated' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),