mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-31 07:10:14 -05:00
Replaced references to K9.INBOX with account.getInboxFolderName()
This commit is contained in:
parent
461b57747c
commit
20a9043a13
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user