feat(shared): add sourceMessageId and sourceInstance to DmMessage type

These fields already exist in the dm_messages DB table but were not
surfaced to clients. Needed for federation relay deduplication.
This commit is contained in:
Jannis Braun
2026-03-26 17:54:17 +01:00
parent 6ccf7fedbb
commit f00dfe6e27
+3
View File
@@ -284,6 +284,9 @@ export interface DmMessage {
channelId?: string;
replyToId?: string | null;
editedAt?: number | null;
// Federation relay identity
sourceMessageId?: string | null;
sourceInstance?: string | null;
}
export interface DmMessageWithUser extends DmMessage {