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:
parent
83b1238b51
commit
7760d9064a
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue