File tree Expand file tree Collapse file tree
react/features/invite/components/dial-in-summary/web Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import BaseApp from '../../../../base/app/components/BaseApp';
44import { isMobileBrowser } from '../../../../base/environment/utils' ;
55import GlobalStyles from '../../../../base/ui/components/GlobalStyles.web' ;
66import JitsiThemeProvider from '../../../../base/ui/components/JitsiThemeProvider.web' ;
7- import { parseURLParams } from '../../../../base/util/parseURLParams' ;
87import { DIAL_IN_INFO_PAGE_PATH_NAME } from '../../../constants' ;
98import NoRoomError from '../../dial-in-info-page/NoRoomError.web' ;
109
@@ -25,7 +24,8 @@ export default class DialInSummaryApp extends BaseApp<any> {
2524 await super . componentDidMount ( ) ;
2625
2726 // @ts -ignore
28- const { room } = parseURLParams ( window . location , true , 'search' ) ;
27+ const params = new URLSearchParams ( window . location . search ) ;
28+ const room = params . get ( 'room' ) || '' ;
2929 const { href } = window . location ;
3030 const ix = href . indexOf ( DIAL_IN_INFO_PAGE_PATH_NAME ) ;
3131 const url = ( ix > 0 ? href . substring ( 0 , ix ) : href ) + room ;
@@ -36,7 +36,7 @@ export default class DialInSummaryApp extends BaseApp<any> {
3636 ? < DialInSummary
3737 className = 'dial-in-page'
3838 clickableNumbers = { isMobileBrowser ( ) }
39- room = { decodeURIComponent ( room ) }
39+ room = { room }
4040 scrollable = { true }
4141 showTitle = { true }
4242 url = { url } />
You can’t perform that action at this time.
0 commit comments