1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Updated folder guessing

This commit is contained in:
M66B 2020-04-08 20:33:27 +02:00
parent 2fa33a6dde
commit c670ec5a9b

View file

@ -168,6 +168,7 @@ public class EntityFolder extends EntityOrder implements Serializable {
));
private static Map<String, String> GUESS_FOLDER_TYPE = new HashMap<String, String>() {{
// Contains:
put("all", EntityFolder.ARCHIVE);
put("archive", EntityFolder.ARCHIVE);
put("draft", EntityFolder.DRAFTS);
@ -177,6 +178,7 @@ public class EntityFolder extends EntityOrder implements Serializable {
put("corbeille", EntityFolder.TRASH);
put("junk", EntityFolder.JUNK);
put("spam", EntityFolder.JUNK);
put("quarantaine", EntityFolder.JUNK);
put("sent", EntityFolder.SENT);
put("envoyé", EntityFolder.SENT);
}};