Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit da24696

Browse files
authored
Support for v2 of MSC3903 (#10165)
1 parent ac3c95f commit da24696

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/views/auth/LoginWithQR.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
import React from "react";
1818
import { MSC3906Rendezvous, MSC3906RendezvousPayload, RendezvousFailureReason } from "matrix-js-sdk/src/rendezvous";
1919
import { MSC3886SimpleHttpRendezvousTransport } from "matrix-js-sdk/src/rendezvous/transports";
20-
import { MSC3903ECDHPayload, MSC3903ECDHv1RendezvousChannel } from "matrix-js-sdk/src/rendezvous/channels";
20+
import { MSC3903ECDHPayload, MSC3903ECDHv2RendezvousChannel } from "matrix-js-sdk/src/rendezvous/channels";
2121
import { logger } from "matrix-js-sdk/src/logger";
2222
import { MatrixClient } from "matrix-js-sdk/src/client";
2323

@@ -158,7 +158,7 @@ export default class LoginWithQR extends React.Component<IProps, IState> {
158158
client: this.props.client,
159159
});
160160

161-
const channel = new MSC3903ECDHv1RendezvousChannel<MSC3906RendezvousPayload>(
161+
const channel = new MSC3903ECDHv2RendezvousChannel<MSC3906RendezvousPayload>(
162162
transport,
163163
undefined,
164164
this.onFailure,

0 commit comments

Comments
 (0)