1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00
This commit is contained in:
J. Ryan Stinnett
2021-01-19 15:36:08 +00:00
parent 9f275d57a9
commit 4a073a7ba5

View File

@@ -851,7 +851,7 @@ MegolmEncryption.prototype.prepareToEncrypt = function(room) {
// We're already preparing something, so don't do anything else. // We're already preparing something, so don't do anything else.
// FIXME: check if we need to restart // FIXME: check if we need to restart
// (https://github.com/matrix-org/matrix-js-sdk/issues/1255) // (https://github.com/matrix-org/matrix-js-sdk/issues/1255)
const elapsedTime = Date.now() - this.encryptionPreparationMetadata.startTime const elapsedTime = Date.now() - this.encryptionPreparationMetadata.startTime;
logger.debug( logger.debug(
`Already started preparing to encrypt for ${this._roomId} ` + `Already started preparing to encrypt for ${this._roomId} ` +
`${elapsedTime} ms ago, skipping`, `${elapsedTime} ms ago, skipping`,