1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Fixed declassification

This commit is contained in:
M66B 2021-01-05 19:35:20 +01:00
parent a59ddba2d5
commit 6a98be46dc

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