store encoded size for attachment

This commit is contained in:
Andris Reinman 2017-09-22 16:02:05 +03:00
parent bc4001d049
commit 9cc641441d

View file

@ -48,6 +48,7 @@ class GridstoreStorage {
let metadata = { let metadata = {
m: attachment.magic, m: attachment.magic,
c: 1, c: 1,
esize: attachment.body.length,
transferEncoding: attachment.transferEncoding transferEncoding: attachment.transferEncoding
}; };