mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-15 14:05:05 -05:00
Fixes 4517: Junk special folder not autoconfigured (rfc6154 implementation was incomplete)
This commit is contained in:
parent
ee0e558f4d
commit
7c9b42091a
@ -683,7 +683,8 @@ public class ImapStore extends Store {
|
||||
} else if (attribute.equals("\\Sent")) {
|
||||
mAccount.setSentFolderName(decodedFolderName);
|
||||
if (K9.DEBUG) Log.d(K9.LOG_TAG, "Folder auto-configuration detected sent folder: " + decodedFolderName);
|
||||
} else if (attribute.equals("\\Spam")) {
|
||||
} else if (attribute.equals("\\Spam") || attribute.equals("\\Junk")) {
|
||||
//rfc6154 just mentions \Junk
|
||||
mAccount.setSpamFolderName(decodedFolderName);
|
||||
if (K9.DEBUG) Log.d(K9.LOG_TAG, "Folder auto-configuration detected spam folder: " + decodedFolderName);
|
||||
} else if (attribute.equals("\\Trash")) {
|
||||
|
Loading…
Reference in New Issue
Block a user