mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 01:51:24 +01:00
Inline attachments required a content ID
This commit is contained in:
@@ -2620,7 +2620,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
}
|
||||
|
||||
for (EntityAttachment attachment : new ArrayList<>(attachments))
|
||||
if (attachment.isInline() && attachment.cid != null && !cids.contains(attachment.cid)) {
|
||||
if (attachment.isInline() && !cids.contains(attachment.cid)) {
|
||||
Log.i("Removing unused inline attachment cid=" + attachment.cid);
|
||||
db.attachment().deleteAttachment(attachment.id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user