Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(info): show dialog after joining the conference

Leonard Kimf539240840ea
diff --git a/react/features/invite/middleware.js b/react/features/invite/middleware.js
index e6a29a3486..59ed12eae2 100644
--- a/react/features/invite/middleware.js
+++ b/react/features/invite/middleware.js
@@ -1,5 +1,7 @@
+import { CONFERENCE_JOINED } from '../base/conference';
import { MiddlewareRegistry } from '../base/redux';
+import { setInfoDialogVisibility } from './actions';
import { UPDATE_DIAL_IN_NUMBERS_FAILED } from './actionTypes';
const logger = require('jitsi-meet-logger').getLogger(__filename);
@@ -15,6 +17,10 @@ MiddlewareRegistry.register(store => next => action => {
const result = next(action);
switch (action.type) {
+ case CONFERENCE_JOINED:
+ store.dispatch(setInfoDialogVisibility(true));
+ break;
+
case UPDATE_DIAL_IN_NUMBERS_FAILED:
logger.error(
'Error encountered while fetching dial-in numbers:',
diff --git a/react/features/invite/reducer.js b/react/features/invite/reducer.js
index 215c80bd6f..cc4d1c2a06 100644
--- a/react/features/invite/reducer.js
+++ b/react/features/invite/reducer.js
@@ -7,10 +7,6 @@ import {
} from './actionTypes';
const DEFAULT_STATE = {
-
- // By default show the info dialog when joining the conference.
- infoDialogVisible: true,
-
numbersEnabled: true
};