Skip to content

Commit 52090bb

Browse files
TobiasFellapoljar
authored andcommitted
docs(crypto): Remove wrong statement about encryption keys for OlmMachine::with_store
When using this function, whether encryption keys are dropped depends on the crypto store implementation used.
1 parent 40e3cd3 commit 52090bb

File tree

1 file changed

+0
-3
lines changed
  • crates/matrix-sdk-crypto/src/machine

1 file changed

+0
-3
lines changed

crates/matrix-sdk-crypto/src/machine/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,6 @@ impl OlmMachine {
266266

267267
/// Create a new OlmMachine with the given [`CryptoStore`].
268268
///
269-
/// The created machine will keep the encryption keys only in memory and
270-
/// once the object is dropped the keys will be lost.
271-
///
272269
/// If the store already contains encryption keys for the given user/device
273270
/// pair those will be re-used. Otherwise new ones will be created and
274271
/// stored.

0 commit comments

Comments
 (0)