obsolete comment, this is already the case

This commit is contained in:
Bruno Windels 2020-09-17 14:20:42 +02:00
parent 092547bfc8
commit 7f97c540fb
1 changed files with 0 additions and 2 deletions

View File

@ -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