mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
fix(settings): trying to access getMetadata() of undefined
This commit is contained in:
committed by
Calinteodor
parent
65e3886d43
commit
deb0e36f84
@@ -145,7 +145,8 @@ export function getModeratorTabProps(stateful: IStateful) {
|
||||
const followMeActive = isFollowMeActive(state);
|
||||
const followMeRecorderActive = isFollowMeRecorderActive(state);
|
||||
const showModeratorSettings = shouldShowModeratorSettings(state);
|
||||
const disableChatWithPermissions = !conference?.getMetadataHandler().getMetadata().allownersEnabled;
|
||||
const conferenceMetadata = conference?.getMetadataHandler()?.getMetadata();
|
||||
const disableChatWithPermissions = !conferenceMetadata?.allownersEnabled;
|
||||
const isAudioModerationEnabled = isEnabledFromState(MEDIA_TYPE.AUDIO, state);
|
||||
const isVideoModerationEnabled = isEnabledFromState(MEDIA_TYPE.VIDEO, state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user