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:
@@ -82,7 +82,6 @@ export const initializeWidget = (
|
||||
baseUrl,
|
||||
e2eEnabled,
|
||||
allowIceFallback,
|
||||
enableClientWellKnownLookups,
|
||||
} = getUrlParams();
|
||||
|
||||
if (!roomId) throw new Error("Room ID must be supplied");
|
||||
@@ -199,7 +198,7 @@ export const initializeWidget = (
|
||||
// Leaving `clientWellKnownPollPeriod` unset stops the SDK polling the
|
||||
// homeserver's `server_name` `.well-known` after login.
|
||||
await client.startClient({
|
||||
clientWellKnownPollPeriod: enableClientWellKnownLookups
|
||||
clientWellKnownPollPeriod: Config.clientWellKnownLookupsEnabled()
|
||||
? 60 * 10
|
||||
: undefined,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user