Skip to content

Commit 03cdaba

Browse files
committed
Add doc about deprecated methods in MatrixClient.
1 parent 117071b commit 03cdaba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ matrixClient.on(CryptoEvent.LegacyCryptoStoreMigrationProgress, (progress, total
433433

434434
After the migration is finished, you can remove the legacy crypto store and the pickle key from the matrix client creation.
435435

436+
The Rust crypto is not supported in a lot of deprecated methods of [`MatrixClient`](https://matrix-org.github.io/matrix-js-sdk/classes/matrix.MatrixClient.html). If you use them, you should migrate to the [`CryptoApi`](https://matrix-org.github.io/matrix-js-sdk/interfaces/crypto_api.CryptoApi.html). Also, the legacy `MatrixClient.crypto` object is not available anymore, you should use `MatrixClient.getCrypto()` instead.
437+
436438
# Contributing
437439

438440
_This section is for people who want to modify the SDK. If you just

0 commit comments

Comments
 (0)