Small improvement

This commit is contained in:
M66B 2020-02-11 08:57:32 +01:00
parent 8b5f1b6169
commit 524e139df0
1 changed files with 2 additions and 1 deletions

View File

@ -882,7 +882,8 @@ class Core {
icopy.setFlag(Flags.Flag.FLAGGED, false);
// Set drafts flag
icopy.setFlag(Flags.Flag.DRAFT, EntityFolder.DRAFTS.equals(target.type));
if (flags.contains(Flags.Flag.DRAFT))
icopy.setFlag(Flags.Flag.DRAFT, EntityFolder.DRAFTS.equals(target.type));
}
if (fetch) {