Browse Source

Fix upper case content types

main
M66B 6 years ago
parent
commit
66ce3939c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/MessageHelper.java

+ 1
- 1
app/src/main/java/eu/faircode/email/MessageHelper.java View File

@ -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…
Cancel
Save