mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 17:18:50 -05:00
Revert "Make IMAP autoconfig recognize "Draft" as drafts folder"
This reverts commit 453f10128c
.
See https://github.com/k9mail/k-9/pull/429
This commit is contained in:
parent
38e3aa7db1
commit
79a5bc9c7e
@ -685,7 +685,7 @@ public class ImapStore extends Store {
|
||||
ImapList attributes = response.getList(1);
|
||||
for (int i = 0, count = attributes.size(); i < count; i++) {
|
||||
String attribute = attributes.getString(i);
|
||||
if (attribute.equals("\\Drafts") || (attribute.equals("\\Draft") && !mAccount.hasDraftsFolder())) {
|
||||
if (attribute.equals("\\Drafts")) {
|
||||
mAccount.setDraftsFolderName(decodedFolderName);
|
||||
if (K9.DEBUG) Log.d(K9.LOG_TAG, "Folder auto-configuration detected draft folder: " + decodedFolderName);
|
||||
} else if (attribute.equals("\\Sent")) {
|
||||
|
Loading…
Reference in New Issue
Block a user