mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02: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