diff --git a/libtextsecure/message_receiver.js b/libtextsecure/message_receiver.js index 834f90b4a..060b1eb96 100644 --- a/libtextsecure/message_receiver.js +++ b/libtextsecure/message_receiver.js @@ -1007,6 +1007,10 @@ MessageReceiver.prototype.extend({ promises.push(this.handleAttachment(attachment)); } + if (decrypted.quote && decrypted.quote.id) { + decrypted.quote.id = decrypted.quote.id.toNumber(); + } + if (decrypted.quote && decrypted.quote.attachments) { const { attachments } = decrypted.quote;