Fixed non attachments

pull/50/head
M66B 6 years ago
parent ea66c6100e
commit 4f2d37e226

@ -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