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. if let Err(e) = self
self.key_request_machine .key_request_machine
.collect_incoming_key_requests() .collect_incoming_key_requests()
.await .await
.unwrap(); {
error!("Error collecting our key share requests {:?}", e);
}
} }
/// Decrypt an event from a room timeline. /// Decrypt an event from a room timeline.