You've already forked matrix-js-sdk
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:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user