Skip to content

Commit

Permalink
Merge pull request #11 from matrix-org/Hywan-patch-1
Browse files Browse the repository at this point in the history
doc(readme): Fix typo in the example
  • Loading branch information
Hywan authored Jul 24, 2023
2 parents 225342b + ff932ba commit fd1ee6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Encryption](https://en.wikipedia.org/wiki/End-to-end_encryption)) for
// The following will use an in-memory store. It is recommended to use
// indexedDB where that is available.
// See https://matrix-org.github.io/matrix-rust-sdk-crypto-wasm/classes/OlmMachine.html#initialize
const olmMachine = await RustSdkCryptoJs.OlmMachine.initialize(
const olmMachine = await matrixSdkCrypto.OlmMachine.initialize(
new RustSdkCryptoJs.UserId(userId),
new RustSdkCryptoJs.DeviceId(deviceId),
);
Expand Down

0 comments on commit fd1ee6a

Please sign in to comment.