mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Bugfix: OpenPGP decrypted attachments friendlySize not a function #89
This commit is contained in:
parent
e2391d1ad2
commit
1f86b73414
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ export function MimeToMessage(data, message)
|
|||
attachment.fileNameExt = attachment.fileName.replace(/^.+(\.[a-z]+)$/, '$1');
|
||||
attachment.fileType = FileInfo.getType('', type.value);
|
||||
attachment.url = part.dataUrl;
|
||||
attachment.friendlySize = FileInfo.friendlySize(part.body.length);
|
||||
attachment.estimatedSize = part.body.length;
|
||||
/*
|
||||
attachment.isThumbnail = false;
|
||||
attachment.contentLocation = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue