mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-03 17:23:41 +02:00
Open the conference with the app locale
This commit is contained in:
parent
ce588d65e8
commit
5b924fe218
|
@ -7,6 +7,7 @@ import type { Dispatch } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { push } from 'react-router-redux';
|
import { push } from 'react-router-redux';
|
||||||
|
|
||||||
|
import i18n from '../../../i18n';
|
||||||
import config from '../../config';
|
import config from '../../config';
|
||||||
import { getSetting, setEmail, setName } from '../../settings';
|
import { getSetting, setEmail, setName } from '../../settings';
|
||||||
|
|
||||||
|
@ -201,7 +202,11 @@ class Conference extends Component<Props, State> {
|
||||||
const roomName = url.pathname.split('/').pop();
|
const roomName = url.pathname.split('/').pop();
|
||||||
const host = this._conference.serverURL.replace(/https?:\/\//, '');
|
const host = this._conference.serverURL.replace(/https?:\/\//, '');
|
||||||
const searchParameters = Object.fromEntries(url.searchParams);
|
const searchParameters = Object.fromEntries(url.searchParams);
|
||||||
const urlParameters = Object.keys(searchParameters).length ? searchParameters : {};
|
const locale = { lng: i18n.language };
|
||||||
|
const urlParameters = {
|
||||||
|
...searchParameters,
|
||||||
|
...locale
|
||||||
|
};
|
||||||
|
|
||||||
const configOverwrite = {
|
const configOverwrite = {
|
||||||
startWithAudioMuted: this.props._startWithAudioMuted,
|
startWithAudioMuted: this.props._startWithAudioMuted,
|
||||||
|
|
Loading…
Reference in a new issue