You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -307,7 +307,7 @@ Then visit `http://localhost:8005` to see the API docs.
307
307
308
308
## Initialization
309
309
310
-
**Do not use `matrixClient.initCrypto()`. This method is deprecated and no longer maintained.**
310
+
**Do not use `matrixClient.initLegacyCrypto()`. This method is deprecated and no longer maintained.**
311
311
312
312
To initialize the end-to-end encryption support in the matrix client:
313
313
@@ -398,10 +398,10 @@ Once the cross-signing is set up on one of your devices, you can verify another
398
398
399
399
## Migrating from the legacy crypto stack to Rust crypto
400
400
401
-
If your application previously used the legacy crypto stack, (i.e, it called `MatrixClient.initCrypto()`), you will
401
+
If your application previously used the legacy crypto stack, (i.e, it called `MatrixClient.initLegacyCrypto()`), you will
402
402
need to migrate existing devices to the Rust crypto stack.
403
403
404
-
This migration happens automatically when you call `initRustCrypto()` instead of `initCrypto()`,
404
+
This migration happens automatically when you call `initRustCrypto()` instead of `initLegacyCrypto()`,
405
405
but you need to provide the legacy [`cryptoStore`](https://matrix-org.github.io/matrix-js-sdk/interfaces/matrix.ICreateClientOpts.html#cryptoStore) and [`pickleKey`](https://matrix-org.github.io/matrix-js-sdk/interfaces/matrix.ICreateClientOpts.html#pickleKey) to [`createClient`](https://matrix-org.github.io/matrix-js-sdk/functions/matrix.createClient.html):
0 commit comments