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:
@@ -284,6 +284,9 @@ export interface DmMessage {
|
|||||||
channelId?: string;
|
channelId?: string;
|
||||||
replyToId?: string | null;
|
replyToId?: string | null;
|
||||||
editedAt?: number | null;
|
editedAt?: number | null;
|
||||||
|
// Federation relay identity
|
||||||
|
sourceMessageId?: string | null;
|
||||||
|
sourceInstance?: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DmMessageWithUser extends DmMessage {
|
export interface DmMessageWithUser extends DmMessage {
|
||||||
|
|||||||
Reference in New Issue
Block a user