mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Consider attachments without name as inline
This commit is contained in:
@@ -98,7 +98,7 @@ public class EntityAttachment {
|
||||
public String error;
|
||||
|
||||
boolean isInline() {
|
||||
return (disposition != null && disposition.equalsIgnoreCase(Part.INLINE) && cid != null);
|
||||
return ((Part.INLINE.equals(disposition) || TextUtils.isEmpty(name)) && cid != null);
|
||||
}
|
||||
|
||||
boolean isImage() {
|
||||
|
||||
Reference in New Issue
Block a user