From da246965d95439584728f9dfb4624b28623b7e9e Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Thu, 2 Mar 2023 13:54:43 +0000 Subject: [PATCH] Support for v2 of MSC3903 (#10165) --- src/components/views/auth/LoginWithQR.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/auth/LoginWithQR.tsx b/src/components/views/auth/LoginWithQR.tsx index 80a57cab36..2285d2b589 100644 --- a/src/components/views/auth/LoginWithQR.tsx +++ b/src/components/views/auth/LoginWithQR.tsx @@ -17,7 +17,7 @@ limitations under the License. import React from "react"; import { MSC3906Rendezvous, MSC3906RendezvousPayload, RendezvousFailureReason } from "matrix-js-sdk/src/rendezvous"; import { MSC3886SimpleHttpRendezvousTransport } from "matrix-js-sdk/src/rendezvous/transports"; -import { MSC3903ECDHPayload, MSC3903ECDHv1RendezvousChannel } from "matrix-js-sdk/src/rendezvous/channels"; +import { MSC3903ECDHPayload, MSC3903ECDHv2RendezvousChannel } from "matrix-js-sdk/src/rendezvous/channels"; import { logger } from "matrix-js-sdk/src/logger"; import { MatrixClient } from "matrix-js-sdk/src/client"; @@ -158,7 +158,7 @@ export default class LoginWithQR extends React.Component { client: this.props.client, }); - const channel = new MSC3903ECDHv1RendezvousChannel( + const channel = new MSC3903ECDHv2RendezvousChannel( transport, undefined, this.onFailure,