feat(federation): deleted flag on wire profile snapshots — tombstone markers never leave the instance (dead-incarnation spec §3.3)

This commit is contained in:
Jannis Braun
2026-07-03 00:59:37 +02:00
parent 5ffc7c565e
commit 3591773a4c
7 changed files with 240 additions and 26 deletions
+6
View File
@@ -1046,6 +1046,12 @@ export interface FederationRelayProfileSnapshot {
// already-online remote stays stuck at 'offline' on the receiver until they
// next change status.
status?: 'online' | 'idle' | 'dnd' | 'offline' | null;
/**
* The user is tombstoned on the instance that built this snapshot.
* Receivers must not create a new stub for this identity; internal
* '!deleted:<id>' usernames are never shipped (dead-incarnation spec §3.3).
*/
deleted?: boolean | null;
}
export interface FederationProfileUpdatePayload {