Added option for Gmail threading

This commit is contained in:
M66B
2020-05-01 21:47:59 +02:00
parent 974fe5c25b
commit fb46927766
21 changed files with 1561 additions and 5 deletions

View File

@@ -147,7 +147,10 @@ public class EntityAccount extends EntityOrder implements Serializable {
String getProtocol() {
switch (protocol) {
case TYPE_IMAP:
return "imap" + (starttls ? "" : "s");
if (isGmail())
return "gimaps";
else
return "imap" + (starttls ? "" : "s");
case TYPE_POP:
return "pop3" + (starttls ? "" : "s");
default: