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;