mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
Move de-classifying to core
This commit is contained in:
parent
7a335beb5b
commit
1666326c59
2 changed files with 4 additions and 3 deletions
|
@ -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 a new issue