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

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

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

Loading…
Cancel
Save