POP3 reload only if leave on server

This commit is contained in:
M66B
2024-07-01 15:06:10 +02:00
parent d71fd3d2ec
commit c116a8f999
6 changed files with 3067 additions and 15 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, summary, leave_deleted, auto_seen, created FROM account";
static final String query = "SELECT id, pop, name, category, color, synchronize, notify, summary, leave_on_server, leave_deleted, auto_seen, created FROM account";
@NonNull
public Long id;
@@ -48,6 +48,8 @@ public class TupleAccountView {
@NonNull
public Boolean summary = false;
@NonNull
public Boolean leave_on_server = true;
@NonNull
public Boolean leave_deleted = false;
@NonNull
public Boolean auto_seen = true;
@@ -64,6 +66,7 @@ public class TupleAccountView {
this.synchronize.equals(other.synchronize) &&
this.notify.equals(other.notify) &&
this.summary.equals(other.summary) &&
this.leave_on_server.equals(other.leave_on_server) &&
this.leave_deleted.equals(other.leave_deleted) &&
this.auto_seen.equals(other.auto_seen) &&
Objects.equals(this.created, other.created));