mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Consider images without name as inline
This commit is contained in:
@@ -109,6 +109,10 @@ public class EntityAttachment {
|
||||
return IMAGE_TYPES.contains(type);
|
||||
}
|
||||
|
||||
boolean isInlineImage() {
|
||||
return ((isInline() || TextUtils.isEmpty(name)) && isImage());
|
||||
}
|
||||
|
||||
File getFile(Context context) {
|
||||
return getFile(context, id, name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user