diff --git a/Mailnag/daemon/idlers.py b/Mailnag/daemon/idlers.py index 8bbb413..b3e740a 100644 --- a/Mailnag/daemon/idlers.py +++ b/Mailnag/daemon/idlers.py @@ -4,7 +4,7 @@ # idlers.py # # Copyright 2011 - 2016 Patrick Ulbrich -# Copyright 2016 Timo Kankare +# Copyright 2016, 2018 Timo Kankare # Copyright 2011 Leighton Earl # # This program is free software; you can redistribute it and/or modify @@ -136,7 +136,7 @@ class IdlerRunner: def start(self): for acc in self._accounts: - if acc.imap and acc.idle: + if acc.supports_notifications(): try: idler = Idler(acc, self._sync_callback, self._idle_timeout) idler.start()