Small improvement

pull/172/head
M66B 5 years ago
parent 84ab000607
commit 1d1b2e1601

@ -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 {

Loading…
Cancel
Save