diff --git a/src/crypto/olm.rs b/src/crypto/olm.rs index 1f893d39..e01044f1 100644 --- a/src/crypto/olm.rs +++ b/src/crypto/olm.rs @@ -101,7 +101,7 @@ impl Account { impl PartialEq for Account { fn eq(&self, other: &Self) -> bool { - self.identity_keys() == other.identity_keys() + self.identity_keys() == other.identity_keys() && self.shared == other.shared } }