1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

Fix some typos in comments

This commit is contained in:
Richard van der Hoff
2017-07-19 21:13:06 +01:00
parent ccd4d4263d
commit 986fb12543
2 changed files with 3 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ applications which support end-to-end encryption:
3. `MatrixClient.listDeviceKeys` has been removed altogether. It's been 3. `MatrixClient.listDeviceKeys` has been removed altogether. It's been
deprecated for some time. Applications using it should insted be changed to deprecated for some time. Applications using it should instead be changed to
use `MatrixClient.getStoredDevices`, which is similar but returns its results use `MatrixClient.getStoredDevices`, which is similar but returns its results
in a slightly different format. in a slightly different format.

View File

@@ -371,7 +371,8 @@ MatrixClient.prototype.initCrypto = async function() {
await crypto.init(); await crypto.init();
// if crypto initialisation was sucessful, tell it to attach its event handlers. // if crypto initialisation was successful, tell it to attach its event
// handlers.
crypto.registerEventHandlers(this); crypto.registerEventHandlers(this);
this._crypto = crypto; this._crypto = crypto;
}; };