Poll user folders by default

This commit is contained in:
M66B
2020-04-20 07:28:31 +02:00
parent ed75e4d7cc
commit 793a085660
3 changed files with 6 additions and 8 deletions

View File

@@ -187,13 +187,6 @@ public class EntityAccount extends EntityOrder implements Serializable {
return new String[]{name, null};
}
boolean shouldPoll() {
// Gmail: Too many simultaneous connections
// Outlook: User is authenticated but not connected
return ("imap.gmail.com".equalsIgnoreCase(host) ||
"outlook.office365.com".equalsIgnoreCase(host));
}
public JSONObject toJSON() throws JSONException {
JSONObject json = new JSONObject();
json.put("id", id);