mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Remove CID on converting inline image to attachment
This commit is contained in:
@@ -5769,7 +5769,8 @@ public class FragmentCompose extends FragmentBase {
|
||||
if (attachment.isInline() && attachment.isImage()) {
|
||||
Log.i("Converting to attachment cid=" + attachment.cid);
|
||||
attachment.disposition = Part.ATTACHMENT;
|
||||
db.attachment().setDisposition(attachment.id, attachment.disposition);
|
||||
attachment.cid = null;
|
||||
db.attachment().setDisposition(attachment.id, attachment.disposition, attachment.cid);
|
||||
dirty = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user