MessageReceiver: Translate from BigNumber to number for quote id
This commit is contained in:
@@ -1007,6 +1007,10 @@ MessageReceiver.prototype.extend({
|
|||||||
promises.push(this.handleAttachment(attachment));
|
promises.push(this.handleAttachment(attachment));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (decrypted.quote && decrypted.quote.id) {
|
||||||
|
decrypted.quote.id = decrypted.quote.id.toNumber();
|
||||||
|
}
|
||||||
|
|
||||||
if (decrypted.quote && decrypted.quote.attachments) {
|
if (decrypted.quote && decrypted.quote.attachments) {
|
||||||
const { attachments } = decrypted.quote;
|
const { attachments } = decrypted.quote;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user