crypto: Don't ignore store errors when fetching the identities.
parent
adf8905d9f
commit
53fec7a87e
|
@ -1519,9 +1519,7 @@ impl OlmMachine {
|
||||||
let own_identity = self
|
let own_identity = self
|
||||||
.store
|
.store
|
||||||
.get_user_identity(self.user_id())
|
.get_user_identity(self.user_id())
|
||||||
.await
|
.await?
|
||||||
.ok()
|
|
||||||
.flatten()
|
|
||||||
.map(|i| i.own().cloned())
|
.map(|i| i.own().cloned())
|
||||||
.flatten();
|
.flatten();
|
||||||
let device_owner_identity = self.store.get_user_identity(user_id).await.ok().flatten();
|
let device_owner_identity = self.store.get_user_identity(user_id).await.ok().flatten();
|
||||||
|
|
Loading…
Reference in New Issue