mirror of https://github.com/M66B/FairEmail.git
Consider images as attachments
This commit is contained in:
parent
b137f5a2be
commit
d7e8d10660
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue