|
|
@ -331,7 +331,7 @@ ImapConnection.prototype.connect = function(loginCb) {
|
|
|
|
case 'LIST':
|
|
|
|
case 'LIST':
|
|
|
|
var result;
|
|
|
|
var result;
|
|
|
|
if (self.delim === null
|
|
|
|
if (self.delim === null
|
|
|
|
&& (result = /^\(\\No[sS]elect\) (.+?) ".*"$/.exec(data[2])))
|
|
|
|
&& (result = /^\(\\No[sS]elect\) (.+?) .*$/.exec(data[2])))
|
|
|
|
self.delim = (result[1] === 'NIL'
|
|
|
|
self.delim = (result[1] === 'NIL'
|
|
|
|
? false : result[1].substring(1, result[1].length-1));
|
|
|
|
? false : result[1].substring(1, result[1].length-1));
|
|
|
|
else if (self.delim !== null) {
|
|
|
|
else if (self.delim !== null) {
|
|
|
|