Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(prejoin) use the conference display name instead of the room name
Saúl Ibarra Corretgé7dba5f8a7e7e
diff --git a/react/features/base/premeeting/components/web/PreMeetingScreen.js b/react/features/base/premeeting/components/web/PreMeetingScreen.jsindex 1cd7e1dec5..b224b977f4 100644--- a/react/features/base/premeeting/components/web/PreMeetingScreen.js+++ b/react/features/base/premeeting/components/web/PreMeetingScreen.js@@ -6,7 +6,7 @@ import React, { PureComponent } from 'react';import { connect } from '../../../../base/redux';import DeviceStatus from '../../../../prejoin/components/preview/DeviceStatus';import { Toolbox } from '../../../../toolbox/components/web';-import { getRoomName } from '../../../conference';+import { getConferenceName } from '../../../conference/functions';import { PREMEETING_BUTTONS, THIRD_PARTY_PREJOIN_BUTTONS } from '../../../config/constants';import { getToolbarButtons, isToolbarButtonEnabled } from '../../../config/functions.web';import { withPixelLineHeight } from '../../../styles/functions.web';@@ -206,7 +206,7 @@ function mapStateToProps(state, ownProps): Object {? premeetingButtons: premeetingButtons.filter(b => isToolbarButtonEnabled(b, toolbarButtons)),_premeetingBackground: premeetingBackground,- _roomName: getRoomName(state)+ _roomName: getConferenceName(state)};}diff --git a/react/features/lobby/components/native/LobbyScreen.js b/react/features/lobby/components/native/LobbyScreen.jsindex a33c4a02cc..8201170058 100644--- a/react/features/lobby/components/native/LobbyScreen.js+++ b/react/features/lobby/components/native/LobbyScreen.js@@ -3,7 +3,7 @@import React from 'react';import { Text, View, TextInput } from 'react-native';-import { getRoomName } from '../../../base/conference';+import { getConferenceName } from '../../../base/conference/functions';import { translate } from '../../../base/i18n';import JitsiScreen from '../../../base/modal/components/JitsiScreen';import { LoadingIndicator } from '../../../base/react';@@ -301,7 +301,7 @@ function _mapStateToProps(state: Object, ownProps: Props) {return {...abstractMapStateToProps(state, ownProps),_aspectRatio: state['features/base/responsive-ui'].aspectRatio,- _roomName: getRoomName(state)+ _roomName: getConferenceName(state)};}diff --git a/react/features/prejoin/components/Prejoin.native.tsx b/react/features/prejoin/components/Prejoin.native.tsxindex 705923a8a0..c25a77bfdb 100644--- a/react/features/prejoin/components/Prejoin.native.tsx+++ b/react/features/prejoin/components/Prejoin.native.tsx@@ -18,7 +18,7 @@ import { appNavigate } from '../../app/actions.native';// @ts-ignoreimport { setAudioOnly } from '../../base/audio-only/actions';// @ts-ignore-import { getRoomName } from '../../base/conference/functions';+import { getConferenceName } from '../../base/conference/functions';// @ts-ignoreimport { connect } from '../../base/connection/actions.native';import { IconClose } from '../../base/icons/svg/index';@@ -64,7 +64,7 @@ const Prejoin: React.FC<PrejoinProps> = ({ navigation }: PrejoinProps) => {);const localParticipant = useSelector((state: any) => getLocalParticipant(state));const isDisplayNameMandatory = useSelector(state => isDisplayNameRequired(state));- const roomName = useSelector(state => getRoomName(state));+ const roomName = useSelector(state => getConferenceName(state));const participantName = localParticipant?.name;const [ displayName, setDisplayName ]= useState(participantName || '');