Reset drafts flag

This commit is contained in:
M66B 2019-06-24 08:34:56 +02:00
parent 11d8272633
commit 833191f5d1
1 changed files with 2 additions and 3 deletions

View File

@ -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});