File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ require("./index.scss");
2020import * as qs from 'querystring' ;
2121import { Capability , WidgetApi } from "matrix-react-sdk/src/widgets/WidgetApi" ;
2222import SdkConfig from "matrix-react-sdk/src/SdkConfig" ;
23- import { loadConfig , preparePlatform } from "../initial-load" ;
2423
2524// Dev note: we use raw JS without many dependencies to reduce bundle size.
2625// We do not need all of React to render a Jitsi conference.
@@ -61,12 +60,8 @@ let widgetApi: WidgetApi;
6160 await widgetApi . setAlwaysOnScreen ( false ) ;
6261 } ) ;
6362
64- // Bootstrap ourselves for loading the script and such
65- preparePlatform ( ) ;
66- await loadConfig ( ) ;
67-
6863 // Populate the Jitsi params now
69- jitsiDomain = qsParam ( 'conferenceDomain' , true ) || SdkConfig . get ( ) [ 'jitsi' ] [ 'preferredDomain' ] ;
64+ jitsiDomain = qsParam ( 'conferenceDomain' , false ) ;
7065 conferenceId = qsParam ( 'conferenceId' ) ;
7166 displayName = qsParam ( 'displayName' , true ) ;
7267 avatarUrl = qsParam ( 'avatarUrl' , true ) ; // http not mxc
You can’t perform that action at this time.
0 commit comments