|
|
|
@ -12,6 +12,7 @@ import { toState } from '../base/redux'; |
|
|
|
|
import { getHideSelfView } from '../base/settings'; |
|
|
|
|
import { parseStandardURIString } from '../base/util'; |
|
|
|
|
import { getBreakoutRoomsConfig, isInBreakoutRoom } from '../breakout-rooms/functions'; |
|
|
|
|
import { isStageFilmstripEnabled } from '../filmstrip/functions'; |
|
|
|
|
import { isFollowMeActive } from '../follow-me'; |
|
|
|
|
import { isReactionsEnabled } from '../reactions/functions.any'; |
|
|
|
|
|
|
|
|
@ -116,6 +117,7 @@ export function getMoreTabProps(stateful: Object | Function) { |
|
|
|
|
const language = i18next.language || DEFAULT_LANGUAGE; |
|
|
|
|
const configuredTabs = interfaceConfig.SETTINGS_SECTIONS || []; |
|
|
|
|
const enabledNotifications = getNotificationsMap(stateful); |
|
|
|
|
const stageFilmstripEnabled = isStageFilmstripEnabled(state); |
|
|
|
|
|
|
|
|
|
// when self view is controlled by the config we hide the settings
|
|
|
|
|
const { disableSelfView, disableSelfViewSettings } = state['features/base/config']; |
|
|
|
@ -132,7 +134,8 @@ export function getMoreTabProps(stateful: Object | Function) { |
|
|
|
|
showNotificationsSettings: Object.keys(enabledNotifications).length > 0, |
|
|
|
|
showPrejoinPage: !state['features/base/settings'].userSelectedSkipPrejoin, |
|
|
|
|
showPrejoinSettings: state['features/base/config'].prejoinConfig?.enabled, |
|
|
|
|
maxStageParticipants: state['features/filmstrip'].maxStageParticipants |
|
|
|
|
maxStageParticipants: state['features/filmstrip'].maxStageParticipants, |
|
|
|
|
stageFilmstripEnabled |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|