mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-25 01:02:20 -04:00
crypto: Remove an unwrap.
This commit is contained in:
@@ -793,11 +793,13 @@ impl OlmMachine {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO remove this unwrap.
|
||||
self.key_request_machine
|
||||
if let Err(e) = self
|
||||
.key_request_machine
|
||||
.collect_incoming_key_requests()
|
||||
.await
|
||||
.unwrap();
|
||||
{
|
||||
error!("Error collecting our key share requests {:?}", e);
|
||||
}
|
||||
}
|
||||
|
||||
/// Decrypt an event from a room timeline.
|
||||
|
||||
Reference in New Issue
Block a user