mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 10:35:15 +01: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