Skip to content
Snippets Groups Projects
Commit 5b924fe2 authored by Christophe HAMERLING's avatar Christophe HAMERLING Committed by Saúl Ibarra Corretgé
Browse files

Open the conference with the app locale

parent ce588d65
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ import type { Dispatch } from 'redux';
import { connect } from 'react-redux';
import { push } from 'react-router-redux';
import i18n from '../../../i18n';
import config from '../../config';
import { getSetting, setEmail, setName } from '../../settings';
......@@ -201,7 +202,11 @@ 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 urlParameters = Object.keys(searchParameters).length ? searchParameters : {};
const locale = { lng: i18n.language };
const urlParameters = {
...searchParameters,
...locale
};
const configOverwrite = {
startWithAudioMuted: this.props._startWithAudioMuted,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment