From 7f97c540fb52326cdbb1234d71f0911e1c45a02c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 17 Sep 2020 14:20:42 +0200 Subject: [PATCH] obsolete comment, this is already the case --- src/matrix/Session.js | 2 -- 1 file changed, 2 deletions(-) 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