Updated folder guessing

pull/178/head
M66B 5 years ago
parent 2fa33a6dde
commit c670ec5a9b

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

Loading…
Cancel
Save