Make the auth choice mode independent again

This commit is contained in:
Johannes Marbach
2026-10-12 20:37:14 +02:00
parent 37d25d4293
commit 54e948fdc0
13 changed files with 48 additions and 142 deletions
@@ -42,7 +42,6 @@ import {
} from "./Connection.ts";
import { ObservableScope } from "../../ObservableScope.ts";
import { FailToGetOpenIdToken } from "../../../utils/errors.ts";
import { MatrixRTCMode } from "../../../config/ConfigOptions.ts";
import { testJWTToken } from "../../../utils/test-fixtures.ts";
import { mockRemoteParticipant, ownMemberMock } from "../../../utils/test.ts";
import {
@@ -124,7 +123,6 @@ function setupRemoteConnection(): Connection {
client,
roomId: ROOM_ID,
slotId: SLOT_ID,
matrixRTCMode: MatrixRTCMode.Matrix_2_0,
role: "subscriber",
transport,
serverName: "m.localhost",
@@ -174,7 +172,6 @@ describe("Start connection states", () => {
client,
roomId: ROOM_ID,
slotId: SLOT_ID,
matrixRTCMode: MatrixRTCMode.Matrix_2_0,
role: "subscriber",
transport,
serverName: "m.localhost",
@@ -195,7 +192,6 @@ describe("Start connection states", () => {
client,
roomId: ROOM_ID,
slotId: SLOT_ID,
matrixRTCMode: MatrixRTCMode.Matrix_2_0,
role: "subscriber",
transport,
serverName: "m.localhost",
@@ -251,7 +247,6 @@ describe("Start connection states", () => {
client,
roomId: ROOM_ID,
slotId: SLOT_ID,
matrixRTCMode: MatrixRTCMode.Matrix_2_0,
role: "subscriber",
transport,
serverName: "m.localhost",
@@ -316,7 +311,6 @@ describe("Start connection states", () => {
client,
roomId: ROOM_ID,
slotId: SLOT_ID,
matrixRTCMode: MatrixRTCMode.Matrix_2_0,
role: "subscriber",
transport,
serverName: "m.localhost",
@@ -567,7 +561,6 @@ describe("remote track logging", () => {
client,
roomId: ROOM_ID,
slotId: SLOT_ID,
matrixRTCMode: MatrixRTCMode.Matrix_2_0,
role: "subscriber",
transport,
serverName: "m.localhost",