mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 02:21:37 +01:00
Refactoring
This commit is contained in:
@@ -140,6 +140,10 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
public String error;
|
||||
public Long last_connected;
|
||||
|
||||
boolean isGmail() {
|
||||
return "imap.gmail.com".equalsIgnoreCase(host);
|
||||
}
|
||||
|
||||
String getProtocol() {
|
||||
switch (protocol) {
|
||||
case TYPE_IMAP:
|
||||
|
||||
Reference in New Issue
Block a user