X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/912bd26ede8901c98fd8d7a35f8493ee448109ad..a659d1a4bc99d27a1746985e13f68efc3dd256c7:/widgets/imap.lua?ds=sidebyside

diff --git a/widgets/imap.lua b/widgets/imap.lua
index 350e1ad..ea763df 100644
--- a/widgets/imap.lua
+++ b/widgets/imap.lua
@@ -65,10 +65,8 @@ local function worker(args)
             _, mailcount = string.gsub(f, "%d+", "")
             _ = nil
 
-            if mailcount ~= helpers.get_map(mail) then
-                widget = imap.widget
-                settings()
-            end
+            widget = imap.widget
+            settings()
 
             if mailcount >= 1 and mailcount > helpers.get_map(mail)
             then