mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Added advanced account option for summary only notifications
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user