mirror of https://github.com/M66B/FairEmail.git
Skip de-classifying messages being trashed/archived
This commit is contained in:
parent
7c55debc66
commit
ba40162fd3
|
@ -1383,7 +1383,9 @@ class Core {
|
|||
throw new IllegalArgumentException("not selectable type=" + target.type);
|
||||
|
||||
// De-classify
|
||||
if (!copy)
|
||||
if (!copy &&
|
||||
!EntityFolder.TRASH.equals(target.type) &&
|
||||
!EntityFolder.ARCHIVE.equals(target.type))
|
||||
for (EntityMessage message : messages)
|
||||
MessageClassifier.classify(message, folder, false, context);
|
||||
|
||||
|
|
Loading…
Reference in New Issue