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