Commit f8e22c4a authored by Thomas's avatar Thomas
Browse files

Fix a crash

parent fdec78fd
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -87,10 +87,11 @@ public class Attachment implements Serializable {
    @Override
    public boolean equals(@Nullable Object obj) {
        boolean same = false;
        if (obj instanceof Attachment) {
        if (obj instanceof Attachment && ((Attachment) obj).id != null && this.id != null) {
            same = this.id.equals(((Attachment) obj).id);
        }
            return same;
        } else return super.equals(obj);

    }

}