Skip to content

Commit

Permalink
Make IDLE mode to work again
Browse files Browse the repository at this point in the history
Refactoring in commit 6cbd249 touched wrong class's "idle" call.

Found-by: Tomasz Żok <tomasz.zok@gmail.com>
Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
  • Loading branch information
konvpalto committed May 23, 2014
1 parent ee89610 commit 0005bcb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Changelog.rst
Expand Up @@ -8,6 +8,14 @@ ChangeLog
OfflineIMAP v6.5.6 (YYYY-MM-DD)
===============================

* Fix IDLE mode regression (it didn't worked) introduced
after v6.5.5 (pointy hat goes to Eygene Ryabinkin, kudos --
to Tomasz Żok)


OfflineIMAP v6.5.6-RC1 (2014-05-14)
===================================

* Add knob to invoke folderfilter dynamically on each sync (GitHub#73)
* Add knob to apply compression to IMAP connections (Abdó Roig-Maranges)
* Add knob to filter some headers before uploading message
Expand Down
2 changes: 1 addition & 1 deletion offlineimap/imapserver.py
Expand Up @@ -703,7 +703,7 @@ def callback(args):
else:
success = True
if "IDLE" in imapobj.capabilities:
imapobj.__idle(callback=callback)
imapobj.idle(callback=callback)
else:
self.ui.warn("IMAP IDLE not supported on server '%s'."
"Sleep until next refresh cycle." % imapobj.identifier)
Expand Down

0 comments on commit 0005bcb

Please sign in to comment.