feat(federation): Port to Versia 0.6

This commit is contained in:
Jesse Wierzbinski 2026-02-25 02:34:27 +01:00
parent de69f27877
commit fca30b4dad
No known key found for this signature in database
62 changed files with 1614 additions and 2008 deletions

View file

@ -28,7 +28,10 @@ export const refetchUserCommand = defineCommand(
const spinner = ora("Refetching user").start();
try {
await User.fromVersia(user.uri);
await User.fromVersia(
user.reference,
user.reference.domain as string,
);
} catch (error) {
spinner.fail(
`Failed to refetch user ${chalk.gray(user.data.username)}`,