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

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