mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-18 06:07:43 -04:00
add comment
This commit is contained in:
committed by
Andy Balaam
parent
bb6202c76b
commit
36cca4e444
@@ -158,6 +158,11 @@ impl Backups {
|
||||
|
||||
#[cfg(feature = "experimental-push-secrets")]
|
||||
{
|
||||
// Push the backup key to our own verified devices.
|
||||
// `push_secret_to_verified_devices` depends on having existing
|
||||
// Olm sessions with the devices that the secret is being pushed
|
||||
// to, so make sure we have Olm sessions with all our other
|
||||
// devices.
|
||||
if let Some((txn_id, keys_claim_request)) = olm_machine
|
||||
.get_missing_sessions(vec![olm_machine.user_id()].into_iter())
|
||||
.await?
|
||||
|
||||
Reference in New Issue
Block a user