1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-27 08:23:24 +00:00

Small improvement

This commit is contained in:
M66B 2020-01-01 16:26:41 +01:00
parent 84ab000607
commit 1d1b2e1601

View file

@ -169,8 +169,8 @@ public class EntityAccount extends EntityOrder implements Serializable {
}
boolean shouldPoll() {
return ("imap.gmail.com".equals(host) ||
"outlook.office365.com".equals(host));
return ("imap.gmail.com".equalsIgnoreCase(host) ||
"outlook.office365.com".equalsIgnoreCase(host));
}
public JSONObject toJSON() throws JSONException {