mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
SPA gate should come from EC config not a URL param
This commit is contained in:
@@ -44,7 +44,6 @@ import {
|
||||
} from "../../../livekit/openIDSFU.ts";
|
||||
import { areLivekitTransportsEqual } from "../remoteMembers/MatrixLivekitMembers.ts";
|
||||
import { customLivekitUrl } from "../../../settings/settings.ts";
|
||||
import { getUrlParams } from "../../../UrlParams.ts";
|
||||
import { RtcTransportAutoDiscovery } from "./RtcTransportAutoDiscovery.ts";
|
||||
|
||||
const logger = rootLogger.getChild("[LocalTransport]");
|
||||
@@ -148,7 +147,7 @@ export const createLocalTransport$ = ({
|
||||
const transportDiscovery = new RtcTransportAutoDiscovery({
|
||||
client: client,
|
||||
resolvedConfig: Config.get(),
|
||||
enableClientWellKnownLookups: getUrlParams().enableClientWellKnownLookups,
|
||||
enableClientWellKnownLookups: Config.clientWellKnownLookupsEnabled(),
|
||||
wellKnownFetcher: AutoDiscovery.getRawClientConfig.bind(AutoDiscovery),
|
||||
logger: logger,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user