From 0b1c66178c3e172e92ea6cb777481e1d190e157e Mon Sep 17 00:00:00 2001 From: Chotiwat Chawannakul Date: Thu, 19 Jul 2012 14:15:17 +0700 Subject: [PATCH] Always use LIST to get delimiter to support Cyrus IMAP server. Signed-off-by: Brian White --- imap.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/imap.js b/imap.js index 96e3ea8..d7d07cb 100644 --- a/imap.js +++ b/imap.js @@ -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); }); }); };