diff --git a/src/matrix/Session.js b/src/matrix/Session.js index 197c0f3f..dcf1eabd 100644 --- a/src/matrix/Session.js +++ b/src/matrix/Session.js @@ -316,8 +316,6 @@ export class Session { const needsToUploadOTKs = await this._e2eeAccount.generateOTKsIfNeeded(this._storage); const promises = [this._deviceMessageHandler.decryptPending(this.rooms)]; if (needsToUploadOTKs) { - // TODO: we could do this in parallel with sync if it proves to be too slow - // but I'm not sure how to not swallow errors in that case promises.push(this._e2eeAccount.uploadKeys(this._storage)); } // run key upload and decryption in parallel