diff --git a/src/matrix/verification/CrossSigning.ts b/src/matrix/verification/CrossSigning.ts index 83ac3f05..7ba65c1c 100644 --- a/src/matrix/verification/CrossSigning.ts +++ b/src/matrix/verification/CrossSigning.ts @@ -144,8 +144,8 @@ export class CrossSigning { log.set({publishedMasterKey: publisedEd25519Key, derivedPublicKey}); this._isMasterKeyTrusted = !!publisedEd25519Key && publisedEd25519Key === derivedPublicKey; if (!this._isMasterKeyTrusted) { - return MSKVerification.DerivedPubKeyMismatch; log.set("failure", "mismatch"); + return MSKVerification.DerivedPubKeyMismatch; } return MSKVerification.Valid; });