Chat Session Refreshed: Include schemaVersion to prevent later upgrade

This commit is contained in:
Scott Nonnenberg 2021-03-12 14:16:38 -08:00 committed by Josh Perez
parent 746e6781ae
commit 246ca86319
1 changed files with 1 additions and 0 deletions

View File

@ -2357,6 +2357,7 @@ export class ConversationModel extends window.Backbone.Model<
received_at_ms: timestamp,
key_changed: keyChangedId,
unread: 1,
schemaVersion: Message.VERSION_NEEDED_FOR_DISPLAY,
// TODO: DESKTOP-722
// this type does not fully implement the interface it is expected to
} as unknown) as typeof window.Whisper.MessageAttributesType;