Fixed declassification

This commit is contained in:
M66B 2021-01-05 19:35:20 +01:00
parent a59ddba2d5
commit 6a98be46dc
1 changed files with 2 additions and 1 deletions

View File

@ -999,7 +999,8 @@ class Core {
throw new IllegalArgumentException("self");
// De-classify
if (MessageClassifier.canClassify(folder.type))
if (MessageClassifier.canClassify(folder.type) &&
MessageClassifier.canClassify(target.type))
for (EntityMessage message : messages)
MessageClassifier.classify(message, false, context);