mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-04-02 17:00:19 +00:00
feat(config) add flag to disable lobby password & group lobby config flags (#12793)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import type { Dispatch } from 'redux';
|
||||
|
||||
import { createToolbarEvent, sendAnalytics } from '../../../analytics';
|
||||
import { getSecurityUiConfig } from '../../../base/config/functions.any';
|
||||
import {
|
||||
LOBBY_MODE_ENABLED,
|
||||
MEETING_PASSWORD_ENABLED,
|
||||
@@ -81,7 +82,7 @@ export default class AbstractSecurityDialogButton<P: Props, S:*>
|
||||
*/
|
||||
export function _mapStateToProps(state: Object) {
|
||||
const { conference } = state['features/base/conference'];
|
||||
const { hideLobbyButton } = state['features/base/config'];
|
||||
const { hideLobbyButton } = getSecurityUiConfig(state);
|
||||
const { locked } = state['features/base/conference'];
|
||||
const { lobbyEnabled } = state['features/lobby'];
|
||||
const lobbySupported = conference && conference.isLobbySupported();
|
||||
|
||||
Reference in New Issue
Block a user