mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 10:01:22 +01:00
Consider images as attachments
This commit is contained in:
@@ -441,7 +441,9 @@ public class MessageHelper {
|
||||
filename = null;
|
||||
}
|
||||
|
||||
if (Part.ATTACHMENT.equalsIgnoreCase(disposition) || !TextUtils.isEmpty(filename)) {
|
||||
if (Part.ATTACHMENT.equalsIgnoreCase(disposition) ||
|
||||
part.isMimeType("image/*") ||
|
||||
!TextUtils.isEmpty(filename)) {
|
||||
ContentType ct = new ContentType(part.getContentType());
|
||||
String[] cid = part.getHeader("Content-ID");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user