when retrieving the mailbox list, support children that may come before their parents

closes #163
fork
mscdex 11 years ago
parent f2ec7d6071
commit 2b2bacfbca

@ -465,8 +465,9 @@ ImapConnection.prototype.connect = function(loginCb) {
}
box.parent = parent;
}
if (!curChildren[name])
curChildren[name] = box;
if (curChildren[name])
box.children = curChildren[name].children;
curChildren[name] = box;
}
break;
case 'SEARCH':

Loading…
Cancel
Save