mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Moved outbox to unified folders
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user