Show body size

This commit is contained in:
M66B
2019-09-30 21:00:28 +02:00
parent b3f34ec0c9
commit 23df3a100a
9 changed files with 1930 additions and 16 deletions

View File

@@ -118,6 +118,7 @@ public class EntityMessage implements Serializable {
public Boolean raw;
public String subject;
public Long size;
public Long total;
@NonNull
public Integer attachments = 0; // performance
@NonNull
@@ -279,6 +280,7 @@ public class EntityMessage implements Serializable {
Objects.equals(this.raw, other.raw) &&
Objects.equals(this.subject, other.subject) &&
Objects.equals(this.size, other.size) &&
Objects.equals(this.total, other.total) &&
Objects.equals(this.attachments, other.attachments) &&
this.content == other.content &&
Objects.equals(this.plain_only, other.plain_only) &&