Declassify on move only

This commit is contained in:
M66B 2021-06-23 23:04:21 +02:00
parent 4924af686f
commit de5d6c3d17
1 changed files with 3 additions and 2 deletions

View File

@ -1183,8 +1183,9 @@ class Core {
throw new IllegalArgumentException("not selectable type=" + target.type);
// De-classify
for (EntityMessage message : messages)
MessageClassifier.classify(message, folder, target, context);
if (!copy)
for (EntityMessage message : messages)
MessageClassifier.classify(message, folder, target, context);
IMAPFolder itarget = (IMAPFolder) istore.getFolder(target.name);