From 8b0dff728dd1f8caf45aab26e25b35aecaeda0a3 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sat, 7 Sep 2019 22:14:26 +0300 Subject: [PATCH] ui: don't show new mail notifications in ignored folders --- ui/src/conf/accounts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/conf/accounts.rs b/ui/src/conf/accounts.rs index 63e08a1d..f82c77e8 100644 --- a/ui/src/conf/accounts.rs +++ b/ui/src/conf/accounts.rs @@ -369,7 +369,7 @@ impl Account { let ref_folders: FnvHashMap = self.backend.folders(); let folder_conf = &self.settings.folder_confs[&self.folder_names[&folder_hash]]; - if folder_conf.subscribe.is_false() { + if folder_conf.ignore.is_true() { return None; } let (_, thread_node) = self.mail_and_thread(env_hash, folder_hash);