From 5b8acd2afa8901c8a242f32acf1b7230144b8f33 Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Mon, 13 Feb 2023 11:33:13 +0000 Subject: [PATCH] Update to latest iteration of MSC3903 --- 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 80a57cab36b..2285d2b5890 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,