Remove the recording button from the Jitsi UI if recording is disabled.

This commit is contained in:
Hardy Erlinger 2020-12-06 13:50:45 +01:00
parent a5ae7e9ef0
commit ec2a9d4852

View file

@ -205,9 +205,11 @@ var interfaceConfig = {
{% if matrix_jitsi_enable_transcriptions %} {% if matrix_jitsi_enable_transcriptions %}
'closedcaptions', 'closedcaptions',
{% endif %} {% endif %}
{% if matrix_jitsi_enable_recording %}
'recording',
{% endif %}
'microphone', 'camera', 'desktop', 'embedmeeting', 'fullscreen', 'microphone', 'camera', 'desktop', 'embedmeeting', 'fullscreen',
'fodeviceselection', 'hangup', 'profile', 'chat', 'recording', 'fodeviceselection', 'hangup', 'profile', 'chat',
'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand', 'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts', 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
'tileview', 'videobackgroundblur', 'download', 'help', 'mute-everyone', 'security' 'tileview', 'videobackgroundblur', 'download', 'help', 'mute-everyone', 'security'