mirror of https://github.com/M66B/FairEmail.git
Set auto classified message hidden
This commit is contained in:
parent
83b1238b51
commit
7760d9064a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue