lowercase the name of the inbox
authoradam <adam@megacz.com>
Sun, 22 Jul 2007 02:30:14 +0000 (02:30 +0000)
committeradam <adam@megacz.com>
Sun, 22 Jul 2007 02:30:14 +0000 (02:30 +0000)
darcs-hash:20070722023014-5007d-5e68bdfd3a3bd451a2042cc4445013240e491b19.gz

src/org/ibex/mail/IMAP.java

index 9c1ee6b..f97e771 100644 (file)
@@ -294,7 +294,7 @@ public class IMAP {
             } else {
                 Account account = (Account)ret;
                 ((MailboxWrapper)api).root = root = account.getMailbox(IMAP.class);
             } else {
                 Account account = (Account)ret;
                 ((MailboxWrapper)api).root = root = account.getMailbox(IMAP.class);
-                MailTree ibt = root.slash("INBOX", false);
+                MailTree ibt = root.slash("inbox", false);
                 Mailbox ib = ibt==null ? null : ibt.getMailbox();
                 ((MailboxWrapper)api).inbox = inbox = ib;
             }
                 Mailbox ib = ibt==null ? null : ibt.getMailbox();
                 ((MailboxWrapper)api).inbox = inbox = ib;
             }