diff --git a/ts/types/Message.ts b/ts/types/Message.ts index 808f5cd12..cf60f5530 100644 --- a/ts/types/Message.ts +++ b/ts/types/Message.ts @@ -23,7 +23,7 @@ export type IncomingMessage = Readonly< source?: string; sourceDevice?: number; } & SharedMessageProperties & - Message4 & + MessageSchemaVersion4 & ExpirationTimerUpdate >; @@ -49,7 +49,7 @@ export type OutgoingMessage = Readonly< recipients?: Array; // Array synced: boolean; } & SharedMessageProperties & - Message4 & + MessageSchemaVersion4 & ExpirationTimerUpdate >; @@ -57,7 +57,7 @@ export type VerifiedChangeMessage = Readonly< { type: 'verified-change'; } & SharedMessageProperties & - Message4 & + MessageSchemaVersion4 & ExpirationTimerUpdate >; @@ -77,7 +77,7 @@ type ExpirationTimerUpdate = Partial< }> >; -type Message4 = Partial< +type MessageSchemaVersion4 = Partial< Readonly<{ hasAttachments: IndexableBoolean; hasVisualMediaAttachments: IndexableBoolean;