mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Prevent importing duplicate saved searches
This commit is contained in:
@@ -82,7 +82,8 @@ public class EntitySearch {
|
||||
public boolean equals(Object obj) {
|
||||
if (obj instanceof EntitySearch) {
|
||||
EntitySearch other = (EntitySearch) obj;
|
||||
return (this.id.equals(other.id) &&
|
||||
return (Objects.equals(this.account_uuid, other.account_uuid) &&
|
||||
Objects.equals(this.folder_name, other.folder_name) &&
|
||||
this.name.equals(other.name) &&
|
||||
Objects.equals(this.order, other.order) &&
|
||||
Objects.equals(this.color, other.color) &&
|
||||
|
||||
Reference in New Issue
Block a user