Store attachment count for better performance

This commit is contained in:
M66B
2019-07-24 14:49:55 +02:00
parent 752aee0a3b
commit 3be40ef641
6 changed files with 1860 additions and 9 deletions

View File

@@ -37,7 +37,6 @@ public class TupleMessageEx extends EntityMessage {
public int count;
public int unseen;
public int unflagged;
public int attachments;
public int drafts;
public int visible;
public Long totalSize;
@@ -63,7 +62,6 @@ public class TupleMessageEx extends EntityMessage {
this.count == other.count &&
this.unseen == other.unseen &&
this.unflagged == other.unflagged &&
this.attachments == other.attachments &&
this.drafts == other.drafts &&
this.visible == other.visible &&
Objects.equals(this.totalSize, other.totalSize) &&