client: Simplify the auto key-claiming invocation
This commit is contained in:
parent
ef2f20eb97
commit
948c811d4b
1 changed files with 3 additions and 1 deletions
|
@ -1743,7 +1743,9 @@ impl Client {
|
|||
|
||||
#[cfg(feature = "encryption")]
|
||||
{
|
||||
if let Err(e) = self.claim_one_time_keys(&mut [].iter()).await {
|
||||
// This is needed because sometimes we need to automatically
|
||||
// claim some one-time keys to unwedge an exisitng Olm session.
|
||||
if let Err(e) = self.claim_one_time_keys([].iter()).await {
|
||||
warn!("Error while claiming one-time keys {:?}", e);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue