mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 23:26:12 +02:00
Related attachments
This commit is contained in:
@@ -3928,7 +3928,8 @@ public class FragmentCompose extends FragmentBase {
|
||||
|
||||
if (image) {
|
||||
attachment.cid = "<" + BuildConfig.APPLICATION_ID + "." + attachment.id + ">";
|
||||
db.attachment().setCid(attachment.id, attachment.cid);
|
||||
attachment.related = true;
|
||||
db.attachment().setCid(attachment.id, attachment.cid, attachment.related);
|
||||
}
|
||||
} finally {
|
||||
try {
|
||||
@@ -4822,6 +4823,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
attachment.disposition = Part.INLINE;
|
||||
else {
|
||||
attachment.cid = null;
|
||||
attachment.related = false;
|
||||
attachment.disposition = Part.ATTACHMENT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user