From 74582de2d1acc9f928862ca30d0618e63ac3a364 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Tue, 24 Apr 2018 12:09:28 -0400 Subject: [PATCH] Clarify naming --- ts/types/Message.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;