mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 02:21:37 +01:00
Poll outlook user folders
This commit is contained in:
@@ -147,6 +147,11 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
return new String[]{name, null};
|
||||
}
|
||||
|
||||
boolean shouldPoll() {
|
||||
return ("imap.gmail.com".equals(host) ||
|
||||
"outlook.office365.com".equals(host));
|
||||
}
|
||||
|
||||
public JSONObject toJSON() throws JSONException {
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("id", id);
|
||||
|
||||
Reference in New Issue
Block a user