mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-24 08:36:10 -04:00
review: cargo fmt
This commit is contained in:
@@ -1537,11 +1537,11 @@ impl OlmMachine {
|
||||
|
||||
/// Clear any in-memory caches because they may be out of sync with the
|
||||
/// underlying data store.
|
||||
///
|
||||
///
|
||||
/// The crypto store layer is caching olm sessions for a given device.
|
||||
/// When used in a multi-process context this cache will get outdated.
|
||||
/// If the machine is used by another process, the cache must be invalidating when the
|
||||
/// main process is resumed.
|
||||
/// If the machine is used by another process, the cache must be
|
||||
/// invalidating when the main process is resumed.
|
||||
pub async fn clear_crypto_cache(&self) {
|
||||
self.inner.clear_crypto_cache().await
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user