1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Set auto classified message hidden

This commit is contained in:
M66B 2021-01-03 18:22:16 +01:00
parent 83b1238b51
commit 7760d9064a

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