Ignores continuation commands due to IDLE

fork
Andrew Jessup 13 years ago
parent 681da750db
commit 85ac886d00

@ -415,7 +415,7 @@ ImapConnection.prototype.connect = function(loginCb) {
} }
} }
} else if (data[0][0] === 'A' || } else if (data[0][0] === 'A' ||
(data[0] === '+' && self._state.requests.length ) ) { // Tagged server response or continutation response (data[0] === '+' && self._state.requests.length && !self._state.isIdle)) { // Tagged server response or continutation response
var sendBox = false; var sendBox = false;
clearTimeout(self._state.tmrKeepalive); clearTimeout(self._state.tmrKeepalive);

Loading…
Cancel
Save