Poll outlook user folders

This commit is contained in:
M66B
2019-10-19 20:28:10 +02:00
parent 713978a2ae
commit 7ba44afc85
2 changed files with 6 additions and 1 deletions

View File

@@ -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);