1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Update message ID when changing accounts

This commit is contained in:
M66B 2018-11-12 18:26:02 +01:00
parent 236a258089
commit b6d759286c

View file

@ -1482,6 +1482,7 @@ public class FragmentCompose extends FragmentEx {
draft.id = id;
draft.account = aid;
draft.folder = db.folder().getFolderByType(aid, EntityFolder.DRAFTS).id;
draft.msgid = EntityMessage.generateMessageId();
draft.content = true;
draft.ui_hide = false;
EntityOperation.queue(db, draft, EntityOperation.ADD);