mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Simplify leave deleted
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, color, synchronize, notify, auto_seen, created FROM account";
|
||||
static final String query = "SELECT id, pop, name, color, synchronize, notify, leave_deleted, auto_seen, created FROM account";
|
||||
|
||||
@NonNull
|
||||
public Long id;
|
||||
@@ -45,6 +45,8 @@ public class TupleAccountView {
|
||||
@NonNull
|
||||
public Boolean notify = false;
|
||||
@NonNull
|
||||
public Boolean leave_deleted = false;
|
||||
@NonNull
|
||||
public Boolean auto_seen = true;
|
||||
public Long created;
|
||||
|
||||
@@ -58,6 +60,7 @@ public class TupleAccountView {
|
||||
Objects.equals(this.color, other.color) &&
|
||||
this.synchronize.equals(other.synchronize) &&
|
||||
this.notify.equals(other.notify) &&
|
||||
this.leave_deleted.equals(other.leave_deleted) &&
|
||||
this.auto_seen.equals(other.auto_seen) &&
|
||||
Objects.equals(this.created, other.created));
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user