diff --git a/src/matrix/ssss/SecretSharing.ts b/src/matrix/ssss/SecretSharing.ts index 2ac96d9a..4a70188b 100644 --- a/src/matrix/ssss/SecretSharing.ts +++ b/src/matrix/ssss/SecretSharing.ts @@ -192,7 +192,6 @@ export class SecretSharing { } if (!await crossSigning.isOurUserDeviceTrusted(device)) { // We don't want to accept secrets from an untrusted device - console.log("received secret, but ignoring because not verified"); return; } const content = decryptionResult.event.content!; diff --git a/src/matrix/verification/SAS/SASVerification.ts b/src/matrix/verification/SAS/SASVerification.ts index d462252d..49c6a55a 100644 --- a/src/matrix/verification/SAS/SASVerification.ts +++ b/src/matrix/verification/SAS/SASVerification.ts @@ -441,7 +441,6 @@ export function tests() { .theyWinConflict() .fixtures(); const startingMessage = receivedMessages.get(VerificationEventType.Start); - console.log(receivedMessages); const { sas } = await createSASRequest( ourUserId, ourDeviceId, @@ -464,7 +463,6 @@ export function tests() { //@ts-ignore let stage = sas.startStage; for (const stageClass of expectedOrder) { - console.log("Checking", stageClass.constructor.name, stage.constructor.name); assert.strictEqual(stage instanceof stageClass, true); stage = stage.nextStage; } @@ -482,7 +480,6 @@ export function tests() { .youWinConflict() .fixtures(); const startingMessage = receivedMessages.get(VerificationEventType.Start); - console.log(receivedMessages); const { sas, logger } = await createSASRequest( ourUserId, ourDeviceId, @@ -509,7 +506,6 @@ export function tests() { //@ts-ignore let stage = sas.startStage; for (const stageClass of expectedOrder) { - console.log("Checking", stageClass.constructor.name, stage.constructor.name); assert.strictEqual(stage instanceof stageClass, true); stage = stage.nextStage; } @@ -607,7 +603,6 @@ export function tests() { .youSentRequest() .theySentStart() .fixtures(); - console.log("receivedMessages", receivedMessages); const { sas, clock } = await createSASRequest( ourUserId, ourDeviceId, diff --git a/src/matrix/verification/SAS/channel/RoomChannel.ts b/src/matrix/verification/SAS/channel/RoomChannel.ts index 5df15805..56c9e4ee 100644 --- a/src/matrix/verification/SAS/channel/RoomChannel.ts +++ b/src/matrix/verification/SAS/channel/RoomChannel.ts @@ -160,7 +160,6 @@ export class RoomChannel extends Disposables implements IChannel { entry.isLoadedFromStorage) { return; } - console.log("entry", entry); await this.log.wrap("RoomChannel.handleRoomMessage", async (log) => { if (!this.id) { throw new Error("Couldn't find event-id of request message!"); @@ -171,7 +170,6 @@ export class RoomChannel extends Disposables implements IChannel { * m.key.verification.cancel message to the other device indicating as such. * This does not apply for inbound m.key.verification.start or m.key.verification.cancel messages. */ - console.log("Received entry with unknown transaction id: ", entry); await this.cancelVerification(CancelReason.UnknownTransaction); return; } diff --git a/src/matrix/verification/SAS/channel/ToDeviceChannel.ts b/src/matrix/verification/SAS/channel/ToDeviceChannel.ts index 5df46cb2..f5ef010e 100644 --- a/src/matrix/verification/SAS/channel/ToDeviceChannel.ts +++ b/src/matrix/verification/SAS/channel/ToDeviceChannel.ts @@ -168,12 +168,9 @@ export class ToDeviceChannel extends Disposables implements IChannel { * m.key.verification.cancel message to the other device indicating as such. * This does not apply for inbound m.key.verification.start or m.key.verification.cancel messages. */ - console.log("Received event with unknown transaction id: ", event); await this.cancelVerification(CancelReason.UnknownTransaction); return; } - console.log("event", event); - log.log({ l: "event", event }); this.resolveAnyWaits(event); this.receivedMessages.set(event.type, event); if (event.type === VerificationEventType.Ready) {