Download flags for debugging purposes

This commit is contained in:
M66B
2019-01-29 20:15:24 +00:00
parent 174ff16b4c
commit 187ec27083
8 changed files with 1509 additions and 3 deletions

View File

@@ -116,6 +116,7 @@ public class EntityMessage implements Serializable {
public Boolean answered = false;
@NonNull
public Boolean flagged = false;
public String flags; // system flags
public String[] keywords; // user flags
@NonNull
public Boolean ui_seen = false;
@@ -217,6 +218,7 @@ public class EntityMessage implements Serializable {
//this.seen.equals(other.seen) &&
//this.answered.equals(other.answered) &&
//this.flagged.equals(other.flagged) &&
(!BuildConfig.DEBUG || (this.flags == null ? other.flags == null : this.flags.equals(other.flags))) &&
Helper.equal(this.keywords, other.keywords) &&
this.ui_seen.equals(other.ui_seen) &&
this.ui_answered.equals(other.ui_answered) &&
@@ -263,6 +265,7 @@ public class EntityMessage implements Serializable {
this.seen.equals(other.seen) &&
this.answered.equals(other.answered) &&
this.flagged.equals(other.flagged) &&
(this.flags == null ? other.flags == null : this.flags.equals(other.flags)) &&
Helper.equal(this.keywords, other.keywords) &&
this.ui_seen.equals(other.ui_seen) &&
this.ui_answered.equals(other.ui_answered) &&