mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Added attachment section IDs
This commit is contained in:
@@ -78,6 +78,7 @@ public class EntityAttachment {
|
||||
|
||||
@PrimaryKey(autoGenerate = true)
|
||||
public Long id;
|
||||
public String section;
|
||||
@NonNull
|
||||
public Long message;
|
||||
@NonNull
|
||||
@@ -427,7 +428,8 @@ public class EntityAttachment {
|
||||
public boolean equals(Object obj) {
|
||||
if (obj instanceof EntityAttachment) {
|
||||
EntityAttachment other = (EntityAttachment) obj;
|
||||
return (this.message.equals(other.message) &&
|
||||
return (Objects.equals(this.section, other.section) &&
|
||||
this.message.equals(other.message) &&
|
||||
this.sequence.equals(other.sequence) &&
|
||||
Objects.equals(this.name, other.name) &&
|
||||
this.type.equals(other.type) &&
|
||||
|
||||
Reference in New Issue
Block a user