mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-27 16:33:47 +00:00
Consider attachments without name as inline
This commit is contained in:
parent
006533b15e
commit
4988bf2efe
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue