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:
cketti 2013-12-17 18:45:57 +01:00
parent 38e3aa7db1
commit 79a5bc9c7e
1 changed files with 1 additions and 1 deletions

View File

@ -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")) {