mirror of https://github.com/M66B/FairEmail.git
Reset drafts flag
This commit is contained in:
parent
11d8272633
commit
833191f5d1
|
@ -503,9 +503,8 @@ class Core {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle draft
|
// Handle draft
|
||||||
if (EntityFolder.DRAFTS.equals(folder.type))
|
|
||||||
if (ifolder.getPermanentFlags().contains(Flags.Flag.DRAFT))
|
if (ifolder.getPermanentFlags().contains(Flags.Flag.DRAFT))
|
||||||
imessage.setFlag(Flags.Flag.DRAFT, true);
|
imessage.setFlag(Flags.Flag.DRAFT, EntityFolder.DRAFTS.equals(folder.type));
|
||||||
|
|
||||||
// Add message
|
// Add message
|
||||||
ifolder.appendMessages(new Message[]{imessage});
|
ifolder.appendMessages(new Message[]{imessage});
|
||||||
|
|
Loading…
Reference in New Issue