mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Poll user folders by default
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user