MessageReceiver: Translate from BigNumber to number for quote id

pull/1/head
Scott Nonnenberg 7 years ago
parent 0100e279f5
commit c747c55b37
No known key found for this signature in database
GPG Key ID: 5F82280C35134661

@ -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;

Loading…
Cancel
Save