Added advanced account option for summary only notifications

This commit is contained in:
M66B
2023-04-11 08:36:48 +02:00
parent 18dc1b6f93
commit 9d716427ba
15 changed files with 3094 additions and 22 deletions

View File

@@ -31,7 +31,7 @@ import java.util.Objects;
value = TupleAccountView.query
)
public class TupleAccountView {
static final String query = "SELECT id, pop, name, category, color, synchronize, notify, leave_deleted, auto_seen, created FROM account";
static final String query = "SELECT id, pop, name, category, color, synchronize, notify, summary, leave_deleted, auto_seen, created FROM account";
@NonNull
public Long id;
@@ -46,6 +46,8 @@ public class TupleAccountView {
@NonNull
public Boolean notify = false;
@NonNull
public Boolean summary = false;
@NonNull
public Boolean leave_deleted = false;
@NonNull
public Boolean auto_seen = true;
@@ -61,6 +63,7 @@ public class TupleAccountView {
Objects.equals(this.color, other.color) &&
this.synchronize.equals(other.synchronize) &&
this.notify.equals(other.notify) &&
this.summary.equals(other.summary) &&
this.leave_deleted.equals(other.leave_deleted) &&
this.auto_seen.equals(other.auto_seen) &&
Objects.equals(this.created, other.created));