mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 04:47:14 +00:00
Fix construction of mail folders tree
This commit is contained in:
1 parent
e968be8024
commit
b8f239bf34
2 files changed
+2
-3
No files matched your search
@@ -2887,11 +2887,9 @@ Mailbox.prototype = {
|
||||
findMailboxByName: function(name) {
|
||||
var mailbox = null;
|
||||
|
||||
var searchName = name.asCSSIdentifier();
|
||||
|
||||
var i = 0;
|
||||
while (!mailbox && i < this.children.length)
|
||||
if (this.children[i].name == searchName
|
||||
if (this.children[i].name == name
|
||||
|| this.children[i].displayName == name)
|
||||
mailbox = this.children[i];
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user