mirror of https://github.com/M66B/FairEmail.git
Refactoring
This commit is contained in:
parent
35e0e0e923
commit
f8ea8b5d05
|
@ -3310,8 +3310,7 @@ public class MessageHelper {
|
|||
!Part.ATTACHMENT.equalsIgnoreCase(disposition) && TextUtils.isEmpty(filename)) {
|
||||
parts.text.add(new PartHolder(part, contentType));
|
||||
} else {
|
||||
if ("message/delivery-status".equalsIgnoreCase(contentType.getBaseType()) ||
|
||||
"message/disposition-notification".equalsIgnoreCase(contentType.getBaseType()))
|
||||
if (Report.isDeliveryStatus(ct) || Report.isDispositionNotification(ct))
|
||||
parts.extra.add(new PartHolder(part, contentType));
|
||||
|
||||
AttachmentPart apart = new AttachmentPart();
|
||||
|
|
Loading…
Reference in New Issue