|
|
@ -428,7 +428,7 @@ ImapConnection.prototype.connect = function(loginCb) {
|
|
|
|
// m.mailbox = mailbox name (string)
|
|
|
|
// m.mailbox = mailbox name (string)
|
|
|
|
m.flags = (m.flags ? m.flags.toUpperCase().split(' ') : []);
|
|
|
|
m.flags = (m.flags ? m.flags.toUpperCase().split(' ') : []);
|
|
|
|
m.delimiter = parsers.convStr(m.delimiter, indata.literals);
|
|
|
|
m.delimiter = parsers.convStr(m.delimiter, indata.literals);
|
|
|
|
m.mailbox = parsers.convStr(m.mailbox, indata.literals);
|
|
|
|
m.mailbox = '' + parsers.convStr(m.mailbox, indata.literals);
|
|
|
|
if (self.delimiter === undefined)
|
|
|
|
if (self.delimiter === undefined)
|
|
|
|
self.delimiter = parsers.convStr(m.delimiter, indata.literals);
|
|
|
|
self.delimiter = parsers.convStr(m.delimiter, indata.literals);
|
|
|
|
else {
|
|
|
|
else {
|
|
|
@ -475,7 +475,7 @@ ImapConnection.prototype.connect = function(loginCb) {
|
|
|
|
case 'STATUS':
|
|
|
|
case 'STATUS':
|
|
|
|
// m.mailbox = mailbox name (string)
|
|
|
|
// m.mailbox = mailbox name (string)
|
|
|
|
// m.attributes = expression list (k=>v pairs) of mailbox attributes
|
|
|
|
// m.attributes = expression list (k=>v pairs) of mailbox attributes
|
|
|
|
m.mailbox = parsers.convStr(m.mailbox, indata.literals);
|
|
|
|
m.mailbox = '' + parsers.convStr(m.mailbox, indata.literals);
|
|
|
|
var ret = {
|
|
|
|
var ret = {
|
|
|
|
name: m.mailbox,
|
|
|
|
name: m.mailbox,
|
|
|
|
uidvalidity: 0,
|
|
|
|
uidvalidity: 0,
|
|
|
|