aboutsummaryrefslogtreecommitdiff
path: root/app/features/conference/components/Conference.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/features/conference/components/Conference.js')
-rw-r--r--app/features/conference/components/Conference.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/app/features/conference/components/Conference.js b/app/features/conference/components/Conference.js
index 8df1968..5325a15 100644
--- a/app/features/conference/components/Conference.js
+++ b/app/features/conference/components/Conference.js
@@ -10,6 +10,7 @@ import { push } from 'react-router-redux';
import i18n from '../../../i18n';
import config from '../../config';
import { getSetting } from '../../settings';
+import { parseURLParams } from '../../utils/parseURLParams';
import { conferenceEnded, conferenceJoined } from '../actions';
import JitsiMeetExternalAPI from '../external_api';
@@ -178,14 +179,7 @@ class Conference extends Component<Props, State> {
const roomName = url.pathname.split('/').pop();
const host = this._conference.serverURL.replace(/https?:\/\//, '');
const searchParameters = Object.fromEntries(url.searchParams);
- const hashParameters = url.hash.substring(1).split('&')
- .reduce((res, item) => {
- const parts = item.split('=');
-
- res[parts[0]] = parts[1];
-
- return res;
- }, {});
+ const hashParameters = parseURLParams(url);
const locale = { lng: i18n.language };
const urlParameters = {