Browse Source

Fixed non attachments

main
M66B 6 years ago
parent
commit
4f2d37e226
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

@ -352,7 +352,7 @@ public class MessageHelper {
filename = null;
}
if (disposition == null || Part.ATTACHMENT.equalsIgnoreCase(disposition) || !TextUtils.isEmpty(filename)) {
if (Part.ATTACHMENT.equalsIgnoreCase(disposition) || !TextUtils.isEmpty(filename)) {
ContentType ct = new ContentType(part.getContentType());
EntityAttachment attachment = new EntityAttachment();
attachment.name = filename;


Loading…
Cancel
Save