From 286d2c02f4bbb2a47430277a00be889b26667a52 Mon Sep 17 00:00:00 2001 From: Bruno Morency Date: Wed, 23 Nov 2011 00:03:39 +0800 Subject: [PATCH] Fixes issue #36 -- Reset _state.ext.idle.sentIdle and _state.ext.idle.timeWaited in the _reset method. --- imap.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imap.js b/imap.js index 565785a..37257dd 100644 --- a/imap.js +++ b/imap.js @@ -884,6 +884,9 @@ ImapConnection.prototype._reset = function() { this._state.requests = []; this._state.isIdle = true; this._state.isReady = false; + this._state.ext.idle.sentIdle = false; + this._state.ext.idle.timeWaited = 0; + this.namespaces = { personal: [], other: [], shared: [] }; this.delim = null; this.capabilities = [];