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
guard LocalRecordingButton with _shouldShowButton
Radium Zheng3241c7a9296c
diff --git a/interface_config.js b/interface_config.jsindex b9d17b1c5d..c4bcb9e5eb 100644--- a/interface_config.js+++ b/interface_config.js@@ -48,7 +48,8 @@ var interfaceConfig = {'microphone', 'camera', 'closedcaptions', 'desktop', 'fullscreen','fodeviceselection', 'hangup', 'profile', 'info', 'chat', 'recording','livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',- 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts'+ 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',+ 'localrecording'],SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile' ],diff --git a/react/features/toolbox/components/web/Toolbox.js b/react/features/toolbox/components/web/Toolbox.jsindex 2225a87110..2442364447 100644--- a/react/features/toolbox/components/web/Toolbox.js+++ b/react/features/toolbox/components/web/Toolbox.js@@ -381,11 +381,14 @@ class Toolbox extends Component<Props> {visible = { this._shouldShowButton('camera') } /></div><div className = 'button-group-right'>- <LocalRecordingButton- isDialogShown = { this.props._localRecState.showDialog }- onClick = {- this._onToolbarToggleLocalRecordingInfoDialog- } />+ { this._shouldShowButton('localrecording')+ && <LocalRecordingButton+ isDialogShown =+ { this.props._localRecState.showDialog }+ onClick = {+ this._onToolbarToggleLocalRecordingInfoDialog+ } />+ }{ this._shouldShowButton('invite')&& !_hideInviteButton&& <ToolbarButton