mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-22 00:31:02 +01:00
Fixed finding attachments
This commit is contained in:
@@ -986,6 +986,8 @@ public class MessageHelper {
|
||||
String disposition;
|
||||
try {
|
||||
disposition = part.getDisposition();
|
||||
if (disposition != null)
|
||||
disposition = disposition.toLowerCase();
|
||||
} catch (MessagingException ex) {
|
||||
Log.w(ex);
|
||||
parts.warnings.add(Helper.formatThrowable(ex));
|
||||
@@ -1061,7 +1063,7 @@ public class MessageHelper {
|
||||
}
|
||||
}
|
||||
|
||||
if (apart.attachment.size < 0)
|
||||
if (apart.attachment.size <= 0)
|
||||
apart.attachment.size = null;
|
||||
|
||||
// https://tools.ietf.org/html/rfc2392
|
||||
|
||||
Reference in New Issue
Block a user