mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Consider images without name as inline
This commit is contained in:
@@ -2978,8 +2978,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
for (EntityAttachment attachment : attachments)
|
||||
if (attachment.encryption == null &&
|
||||
("forward".equals(action) || "editasnew".equals(action) ||
|
||||
(cid.contains(attachment.cid) ||
|
||||
(attachment.isInline() && attachment.isImage())))) {
|
||||
(cid.contains(attachment.cid) || attachment.isInlineImage()))) {
|
||||
if (attachment.available) {
|
||||
File source = attachment.getFile(context);
|
||||
|
||||
@@ -3131,7 +3130,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
available++;
|
||||
if (attachment.progress != null)
|
||||
downloading = true;
|
||||
if (attachment.isInline() && attachment.isImage())
|
||||
if (attachment.isInlineImage())
|
||||
inline_images = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user