mirror of https://github.com/M66B/FairEmail.git
Move de-classifying to core
This commit is contained in:
parent
7a335beb5b
commit
1666326c59
|
@ -998,6 +998,10 @@ class Core {
|
|||
if (folder.id.equals(target.id))
|
||||
throw new IllegalArgumentException("self");
|
||||
|
||||
// De-classify
|
||||
for (EntityMessage message : messages)
|
||||
MessageClassifier.classify(message, false, context);
|
||||
|
||||
IMAPFolder itarget = (IMAPFolder) istore.getFolder(target.name);
|
||||
|
||||
// Get source messages
|
||||
|
|
|
@ -229,9 +229,6 @@ public class EntityOperation {
|
|||
db.rule().deleteRule(rule.id);
|
||||
}
|
||||
|
||||
if (message.content)
|
||||
MessageClassifier.classify(message, false, context);
|
||||
|
||||
// Create copy without uid in target folder
|
||||
// Message with same msgid can be in archive
|
||||
if (message.uid != null &&
|
||||
|
|
Loading…
Reference in New Issue