1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-31 15:20:09 -05:00

Replaced references to K9.INBOX with account.getInboxFolderName()

This commit is contained in:
bitblaster 2011-04-05 02:27:04 -07:00 committed by Jesse Vincent
parent 461b57747c
commit 20a9043a13

View File

@ -380,7 +380,7 @@ public class ImapStore extends Store {
mCombinedPrefix = null; mCombinedPrefix = null;
} }
if (folder.equalsIgnoreCase(K9.INBOX)) { if (folder.equalsIgnoreCase(mAccount.getInboxFolderName())) {
continue; continue;
} else if (folder.equalsIgnoreCase(K9.OUTBOX)) { } else if (folder.equalsIgnoreCase(K9.OUTBOX)) {
/* /*
@ -413,7 +413,7 @@ public class ImapStore extends Store {
} }
} }
} }
folders.add(getFolder("INBOX")); folders.add(getFolder(mAccount.getInboxFolderName()));
return folders; return folders;
} }
@ -548,7 +548,7 @@ public class ImapStore extends Store {
public String getPrefixedName() throws MessagingException { public String getPrefixedName() throws MessagingException {
String prefixedName = ""; String prefixedName = "";
if (!K9.INBOX.equalsIgnoreCase(mName)) { if (!mAccount.getInboxFolderName().equalsIgnoreCase(mName)) {
ImapConnection connection = null; ImapConnection connection = null;
synchronized (this) { synchronized (this) {
if (mConnection == null) { if (mConnection == null) {