mirror of https://github.com/M66B/FairEmail.git
Consider attachments without name as inline
This commit is contained in:
parent
006533b15e
commit
4988bf2efe
|
@ -98,7 +98,7 @@ public class EntityAttachment {
|
||||||
public String error;
|
public String error;
|
||||||
|
|
||||||
boolean isInline() {
|
boolean isInline() {
|
||||||
return (disposition != null && disposition.equalsIgnoreCase(Part.INLINE) && cid != null);
|
return ((Part.INLINE.equals(disposition) || TextUtils.isEmpty(name)) && cid != null);
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean isImage() {
|
boolean isImage() {
|
||||||
|
|
Loading…
Reference in New Issue