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

fork
Chotiwat Chawannakul 12 years ago
parent 402dabbeee
commit e0cc3a8d26

@ -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