Set auto classified message hidden

This commit is contained in:
M66B 2021-01-03 18:22:16 +01:00
parent 83b1238b51
commit 7760d9064a
1 changed files with 3 additions and 1 deletions

View File

@ -110,8 +110,10 @@ public class MessageClassifier {
if (classified != null) {
EntityFolder f = db.folder().getFolderByName(account.id, classified);
if (f != null && f.download && f.auto_classify && !f.id.equals(folder.id))
if (f != null && !f.id.equals(folder.id) && f.auto_classify) {
EntityOperation.queue(context, message, EntityOperation.MOVE, f.id, false);
message.ui_hide = true;
}
}
} catch (Throwable ex) {
Log.e(ex);