Account migration

This commit is contained in:
Christopher
2026-01-22 11:45:21 -08:00
parent b0b765b3ae
commit 3394488198
14 changed files with 1512 additions and 16 deletions
+6
View File
@@ -42,6 +42,7 @@ export interface ActivityPubActor {
endpoints: {
sharedInbox: string;
};
movedTo?: string; // If account has migrated to a new location
}
/**
@@ -101,6 +102,11 @@ export function userToActor(user: User, nodeDomain: string): ActivityPubActor {
};
}
// Add movedTo if account has migrated
if (user.movedTo) {
actor.movedTo = user.movedTo;
}
return actor;
}