Skip to content

Commit

Permalink
Bugfix: OpenPGP decrypted attachments friendlySize not a function #89
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Feb 14, 2023
1 parent e2391d1 commit 1f86b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/Mime/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down

0 comments on commit 1f86b73

Please sign in to comment.