IMAP mailboxes are case-sensitive

b/15694346

Change-Id: I4a59979f40d6118bb9c7e27069ea228ba783a4c3
This commit is contained in:
Tony Mantler 2014-07-21 10:24:32 -07:00
parent cd118b3b61
commit 14a64cef86
1 changed files with 1 additions and 2 deletions

View File

@ -538,8 +538,7 @@ public class LegacyConversions {
if (mailboxName == null || mailboxName.length() == 0) {
return Mailbox.TYPE_MAIL;
}
String lowerCaseName = mailboxName.toLowerCase();
Integer type = sServerMailboxNames.get(lowerCaseName);
Integer type = sServerMailboxNames.get(mailboxName);
if (type != null) {
return type;
}