Merge branch 'soru/fix-profile-check' into 'master'
Fixes profile equality check See merge request famedly/famedlysdk!327
This commit is contained in:
commit
ad5b02e0ef
|
@ -19,5 +19,7 @@ class Profile {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(dynamic other) =>
|
bool operator ==(dynamic other) =>
|
||||||
avatarUrl == other.avatarUrl && displayname == other.displayname;
|
(other is Profile) &&
|
||||||
|
avatarUrl == other.avatarUrl &&
|
||||||
|
displayname == other.displayname;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue