Always use LIST to get delimiter to support Cyrus IMAP server.

Signed-off-by: Brian White <mscdex@mscdex.net>
fork
Chotiwat Chawannakul 12 years ago committed by Brian White
parent 402dabbeee
commit 0b1c66178c

@ -99,8 +99,7 @@ ImapConnection.prototype.connect = function(loginCb) {
}
// Lastly, get the top-level mailbox hierarchy delimiter used by the
// server
self._send((self.capabilities.indexOf('XLIST') === -1
? 'LIST' : 'XLIST') + ' "" ""', loginCb);
self._send('LIST "" ""', loginCb);
});
});
};

Loading…
Cancel
Save