Fix attachment size
This is already a number. // FREEBIE
This commit is contained in:
parent
c98ec91cab
commit
6b531ad342
2 changed files with 0 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue