Keep messages IDs

This commit is contained in:
M66B 2018-12-27 08:33:04 +00:00
parent 13417b132f
commit 04e91b1954
1 changed files with 0 additions and 2 deletions

View File

@ -1658,7 +1658,6 @@ 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);
@ -1771,7 +1770,6 @@ public class FragmentCompose extends FragmentEx {
draft.id = null;
draft.folder = db.folder().getOutbox().id;
draft.uid = null;
draft.msgid = EntityMessage.generateMessageId();
draft.ui_hide = false;
draft.id = db.message().insertMessage(draft);
draft.write(getContext(), body);