mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-09 16:34:32 -04:00
ffi: Expose Encryption::wait_for_e2ee_initialization_tasks
This commit is contained in:
@@ -367,4 +367,10 @@ impl Encryption {
|
||||
}
|
||||
})))
|
||||
}
|
||||
|
||||
/// Waits for end-to-end encryption initialization tasks to finish, if any
|
||||
/// was running in the background.
|
||||
pub async fn wait_for_e2ee_initialization_tasks(&self) {
|
||||
self.inner.wait_for_e2ee_initialization_tasks().await;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user