diff --git a/src/matrix/e2ee/megolm/decryption/DecryptionPreparation.js b/src/matrix/e2ee/megolm/decryption/DecryptionPreparation.js index e24d70af..02ee32df 100644 --- a/src/matrix/e2ee/megolm/decryption/DecryptionPreparation.js +++ b/src/matrix/e2ee/megolm/decryption/DecryptionPreparation.js @@ -28,9 +28,6 @@ export class DecryptionPreparation { } async decrypt() { - // console.log("start sleeping"); - // await new Promise(resolve => setTimeout(resolve, 5000)); - // console.log("done sleeping"); try { const errors = this._initialErrors; const results = new Map(); diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index 98f114a5..3704223e 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -102,7 +102,6 @@ export class Room extends EventEmitter { const isTimelineOpen = this._isTimelineOpen; r.preparation = await this._roomEncryption.prepareDecryptAll(events, source, isTimelineOpen, inboundSessionTxn); if (r.cancelled) return; - // TODO: should this throw an AbortError? const changes = await r.preparation.decrypt(); r.preparation = null; if (r.cancelled) return; diff --git a/src/utils/WorkerPool.js b/src/utils/WorkerPool.js index 554067fe..56feaf8c 100644 --- a/src/utils/WorkerPool.js +++ b/src/utils/WorkerPool.js @@ -94,7 +94,6 @@ export class WorkerPool { } handleEvent(e) { - console.log("WorkerPool event", e); if (e.type === "message") { const message = e.data; const request = this._requests.get(message.replyToId);