feat(prejoin) default to enabled (#14236)

* feat(prejoin) default to enabled

* squash: Fixes is prejoin config check.

---------

Co-authored-by: damencho <damencho@jitsi.org>
This commit is contained in:
Saúl Ibarra Corretgé
2024-02-13 19:47:59 +01:00
committed by GitHub
parent 3016853d81
commit 7e0b00ba5f
6 changed files with 28 additions and 14 deletions

View File

@@ -10,6 +10,7 @@ import { getHideSelfView } from '../base/settings/functions.any';
import { parseStandardURIString } from '../base/util/uri';
import { isStageFilmstripEnabled } from '../filmstrip/functions';
import { isFollowMeActive } from '../follow-me/functions';
import { isPrejoinEnabledInConfig } from '../prejoin/functions';
import { isReactionsEnabled } from '../reactions/functions.any';
import { iAmVisitor } from '../visitors/functions';
@@ -114,7 +115,7 @@ export function getMoreTabProps(stateful: IStateful) {
maxStageParticipants: state['features/base/settings'].maxStageParticipants,
showLanguageSettings: configuredTabs.includes('language'),
showPrejoinPage: !state['features/base/settings'].userSelectedSkipPrejoin,
showPrejoinSettings: state['features/base/config'].prejoinConfig?.enabled,
showPrejoinSettings: isPrejoinEnabledInConfig(state),
stageFilmstripEnabled
};
}