Fixed inline attachments

This commit is contained in:
M66B
2019-01-06 12:18:17 +00:00
parent 9154945de9
commit 7cc1f076f4
6 changed files with 17 additions and 7 deletions

View File

@@ -1180,8 +1180,10 @@ public class FragmentCompose extends FragmentEx {
db.attachment().setProgress(attachment.id, size * 100 / attachment.size);
}
if (image)
if (image) {
attachment.cid = "<" + BuildConfig.APPLICATION_ID + "." + attachment.id + ">";
db.attachment().setCid(attachment.id, attachment.cid);
}
db.attachment().setDownloaded(attachment.id, size);
} finally {