Moved outbox to unified folders

This commit is contained in:
M66B
2021-09-11 11:36:22 +02:00
parent e7ef17be72
commit 7b9d21325d
4 changed files with 31 additions and 7 deletions

View File

@@ -19,8 +19,23 @@ package eu.faircode.email;
Copyright 2018-2021 by Marcel Bokhorst (M66B)
*/
import java.util.Objects;
public class TupleFolderUnified {
public String type;
public int messages;
public int unseen;
public String sync_state;
@Override
public boolean equals(Object obj) {
if (obj instanceof TupleFolderUnified) {
TupleFolderUnified other = (TupleFolderUnified) obj;
return (Objects.equals(this.type, other.type) &&
this.messages == other.messages &&
this.unseen == other.unseen &&
Objects.equals(this.sync_state, other.sync_state));
} else
return false;
}
}