Skip to content

Commit 1bb8210

Browse files
dbkrara4n
andauthored
fix example in readme (matrix-org#2315)
Co-authored-by: Matthew Hodgson <[email protected]>
1 parent e133005 commit 1bb8210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ The SDK supports end-to-end encryption via the Olm and Megolm protocols, using
307307
[libolm](https://gitlab.matrix.org/matrix-org/olm). It is left up to the
308308
application to make libolm available, via the ``Olm`` global.
309309

310-
It is also necessary to call ``matrixClient.initCrypto()`` after creating a new
310+
It is also necessary to call ``await matrixClient.initCrypto()`` after creating a new
311311
``MatrixClient`` (but **before** calling ``matrixClient.startClient()``) to
312312
initialise the crypto layer.
313313

0 commit comments

Comments
 (0)