Set auto classified message hidden

pull/190/head
M66B 4 years ago
parent 83b1238b51
commit 7760d9064a

@ -110,8 +110,10 @@ public class MessageClassifier {
if (classified != null) { if (classified != null) {
EntityFolder f = db.folder().getFolderByName(account.id, classified); 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); EntityOperation.queue(context, message, EntityOperation.MOVE, f.id, false);
message.ui_hide = true;
}
} }
} catch (Throwable ex) { } catch (Throwable ex) {
Log.e(ex); Log.e(ex);

Loading…
Cancel
Save