mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 01:51:24 +01:00
Update message ID when changing accounts
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user