Browse Source

Drafts from trash should get new message ID

Refs #41
main
M66B 6 years ago
parent
commit
e1c07bc0a4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/src/main/java/eu/faircode/email/FragmentMessage.java

+ 1
- 0
app/src/main/java/eu/faircode/email/FragmentMessage.java View File

@ -495,6 +495,7 @@ public class FragmentMessage extends FragmentEx {
draft.id = null;
draft.folder = drafts.id;
draft.uid = null;
draft.msgid = EntityMessage.generateMessageId();
draft.id = db.message().insertMessage(draft);
EntityOperation.queue(db, draft, EntityOperation.ADD);


Loading…
Cancel
Save