Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix: Fixes showing cc button when jwt is not used.
damencho701d34248b8d
diff --git a/react/features/subtitles/components/AbstractClosedCaptionButton.js b/react/features/subtitles/components/AbstractClosedCaptionButton.jsindex d927746a25..355c8a0fd3 100644--- a/react/features/subtitles/components/AbstractClosedCaptionButton.js+++ b/react/features/subtitles/components/AbstractClosedCaptionButton.js@@ -1,6 +1,7 @@// @flowimport { createToolbarEvent, sendAnalytics } from '../../analytics';+import { isLocalParticipantModerator } from '../../base/participants';import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';import { toggleRequestingSubtitles } from '../actions';@@ -83,9 +84,8 @@ export class AbstractClosedCaptionButton*/export function _abstractMapStateToProps(state: Object, ownProps: Object) {const { _requestingSubtitles } = state['features/subtitles'];- const { isGuest = true } = state['features/base/jwt'];const { transcribingEnabled } = state['features/base/config'];- const { visible = Boolean(transcribingEnabled && !isGuest) } = ownProps;+ const { visible = Boolean(transcribingEnabled && isLocalParticipantModerator(state)) } = ownProps;return {_requestingSubtitles,