1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Add a bunch of logging

to try & diagnose https://github.com/vector-im/riot-web/issues/7769
This commit is contained in:
David Baker
2019-04-02 12:30:24 +01:00
parent cd3c6809a9
commit a4268d288e
4 changed files with 11 additions and 0 deletions

View File

@@ -491,6 +491,7 @@ MatrixClient.prototype.initCrypto = async function() {
}
// initialise the list of encrypted rooms (whether or not crypto is enabled)
console.log("Crypto: initialising roomlist...");
await this._roomList.init();
const userId = this.getUserId();
@@ -525,6 +526,7 @@ MatrixClient.prototype.initCrypto = async function() {
"crypto.warning",
]);
console.log("Crypto: initialising crypto object...");
await crypto.init();
this.olmVersion = Crypto.getOlmVersion();