IMAP mailboxes are case-sensitive
b/15694346 Change-Id: I4a59979f40d6118bb9c7e27069ea228ba783a4c3
This commit is contained in:
parent
cd118b3b61
commit
14a64cef86
@ -538,8 +538,7 @@ public class LegacyConversions {
|
|||||||
if (mailboxName == null || mailboxName.length() == 0) {
|
if (mailboxName == null || mailboxName.length() == 0) {
|
||||||
return Mailbox.TYPE_MAIL;
|
return Mailbox.TYPE_MAIL;
|
||||||
}
|
}
|
||||||
String lowerCaseName = mailboxName.toLowerCase();
|
Integer type = sServerMailboxNames.get(mailboxName);
|
||||||
Integer type = sServerMailboxNames.get(lowerCaseName);
|
|
||||||
if (type != null) {
|
if (type != null) {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user