1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 22:51:02 +00:00

Fixed non attachments

This commit is contained in:
M66B 2018-08-22 16:55:18 +00:00
parent ea66c6100e
commit 4f2d37e226

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;