mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
Fix upper case content types
This commit is contained in:
parent
b1b58c0892
commit
66ce3939c3
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ public class MessageHelper {
|
|||
|
||||
EntityAttachment attachment = new EntityAttachment();
|
||||
attachment.name = filename;
|
||||
attachment.type = ct.getBaseType();
|
||||
attachment.type = ct.getBaseType().toLowerCase();
|
||||
attachment.size = part.getSize();
|
||||
attachment.cid = (cid == null || cid.length == 0 ? null : cid[0]);
|
||||
attachment.part = part;
|
||||
|
|
Loading…
Reference in a new issue