Added folder sync state

This commit is contained in:
M66B
2018-12-03 13:41:36 +01:00
parent 3df4ba3a8d
commit 75d4dc2a9d
6 changed files with 1215 additions and 19 deletions

View File

@@ -79,6 +79,7 @@ public class EntityFolder implements Serializable {
public Boolean unified = false;
public String[] keywords;
public String state;
public String sync_state;
public String error;
static final String INBOX = "Inbox";
@@ -162,6 +163,7 @@ public class EntityFolder implements Serializable {
this.hide == other.hide &&
this.unified == other.unified &&
(this.state == null ? other.state == null : this.state.equals(other.state)) &&
(this.sync_state == null ? other.sync_state == null : this.sync_state.equals(other.sync_state)) &&
(this.error == null ? other.error == null : this.error.equals(other.error)));
} else
return false;