Alphabetize Message properties

This commit is contained in:
Daniel Gasienica 2018-04-26 15:56:31 -04:00
parent 307ab0d3a5
commit 3df8c22e44

View file

@ -561,14 +561,14 @@
}
}
message.set({
schemaVersion: dataMessage.schemaVersion,
attachments: dataMessage.attachments,
body: dataMessage.body,
conversationId: conversation.id,
attachments: dataMessage.attachments,
quote: dataMessage.quote,
decrypted_at: now,
flags: dataMessage.flags,
errors: [],
flags: dataMessage.flags,
quote: dataMessage.quote,
schemaVersion: dataMessage.schemaVersion,
});
if (type === 'outgoing') {
const receipts = Whisper.DeliveryReceipts.forMessage(conversation, message);