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(dialog) remove obsolete prop no longer used in web
Saúl Ibarra Corretgé0ad6bd4d8311
diff --git a/react/features/base/dialog/actions.js b/react/features/base/dialog/actions.jsindex 823f00ec02..31075f028c 100644--- a/react/features/base/dialog/actions.js+++ b/react/features/base/dialog/actions.js@@ -30,17 +30,14 @@ export function hideDialog(component: ?Object) {* @param {Object} component - The component to display as dialog.* @param {Object} [componentProps] - The React {@code Component} props of the* specified {@code component}.- * @param {boolean} rawDialog - True if the dialog is a raw dialog.- * (Doesn't inherit behavior from other common frameworks).* @returns {{* type: OPEN_DIALOG,* component: React.Component,* componentProps: (Object | undefined)* }}*/-export function openDialog(component: Object, componentProps: ?Object, rawDialog?: boolean) {+export function openDialog(component: Object, componentProps: ?Object) {return {- rawDialog,type: OPEN_DIALOG,component,componentPropsdiff --git a/react/features/base/dialog/components/AbstractDialogContainer.js b/react/features/base/dialog/components/AbstractDialogContainer.jsindex 90ca12b990..7ed1ae2289 100644--- a/react/features/base/dialog/components/AbstractDialogContainer.js+++ b/react/features/base/dialog/components/AbstractDialogContainer.js@@ -19,11 +19,6 @@ type Props = {*/_componentProps: Object,- /**- * True if the dialog is a raw dialog (doesn't inherit behavior from other common frameworks, such as atlaskit).- */- _rawDialog: boolean,-/*** True if the UI is in a compact state where we don't show dialogs.*/@@ -73,7 +68,6 @@ export function abstractMapStateToProps(state: Object): $Shape<Props> {return {_component: stateFeaturesBaseDialog.component,_componentProps: stateFeaturesBaseDialog.componentProps,- _rawDialog: stateFeaturesBaseDialog.rawDialog,_reducedUI: reducedUI};}diff --git a/react/features/base/dialog/components/web/DialogContainer.js b/react/features/base/dialog/components/web/DialogContainer.jsindex f54958af05..c14ef1e6b5 100644--- a/react/features/base/dialog/components/web/DialogContainer.js+++ b/react/features/base/dialog/components/web/DialogContainer.js@@ -20,10 +20,6 @@ class DialogContainer extends AbstractDialogContainer {* @returns {ReactElement}*/render() {- if (this.props._rawDialog) {- return this._renderDialogContent();- }-return (<ModalTransition>{ this._renderDialogContent() }@@ -33,4 +29,3 @@ class DialogContainer extends AbstractDialogContainer {}export default connect(abstractMapStateToProps)(DialogContainer);-diff --git a/react/features/base/dialog/reducer.js b/react/features/base/dialog/reducer.jsindex 20d04f5981..cafde62be8 100644--- a/react/features/base/dialog/reducer.js+++ b/react/features/base/dialog/reducer.js@@ -21,8 +21,7 @@ ReducerRegistry.register('features/base/dialog', (state = {}, action) => {if (typeof component === 'undefined' || state.component === component) {return assign(state, {component: undefined,- componentProps: undefined,- rawDialog: false+ componentProps: undefined});}break;@@ -31,8 +30,7 @@ ReducerRegistry.register('features/base/dialog', (state = {}, action) => {case OPEN_DIALOG:return assign(state, {component: action.component,- componentProps: action.componentProps,- rawDialog: action.rawDialog+ componentProps: action.componentProps});}