crypto: Remove an unwrap.

master
Damir Jelić 2020-10-07 11:57:46 +02:00
parent 1e894269c8
commit 6a8ac62a51
1 changed files with 5 additions and 3 deletions

View File

@ -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.