Fix attachment size

This is already a number.

// FREEBIE
This commit is contained in:
lilia 2017-04-18 18:09:21 -07:00
parent c98ec91cab
commit 6b531ad342
2 changed files with 0 additions and 6 deletions

View file

@ -38538,9 +38538,6 @@ MessageReceiver.prototype.extend({
handleAttachment: function(attachment) {
attachment.id = attachment.id.toString();
attachment.key = attachment.key.toArrayBuffer();
if (attachment.size) {
attachment.size = attachment.size.toNumber();
}
if (attachment.digest) {
attachment.digest = attachment.digest.toArrayBuffer();
}

View file

@ -344,9 +344,6 @@ MessageReceiver.prototype.extend({
handleAttachment: function(attachment) {
attachment.id = attachment.id.toString();
attachment.key = attachment.key.toArrayBuffer();
if (attachment.size) {
attachment.size = attachment.size.toNumber();
}
if (attachment.digest) {
attachment.digest = attachment.digest.toArrayBuffer();
}