Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(Toolbar.js): hide recording and SIP buttons from the start

paweldomas6669a96fd89b
diff --git a/modules/UI/toolbars/Toolbar.js b/modules/UI/toolbars/Toolbar.js
index 58970c9ef6..0b5e37d5c8 100644
--- a/modules/UI/toolbars/Toolbar.js
+++ b/modules/UI/toolbars/Toolbar.js
@@ -255,7 +255,9 @@ const defaultToolbarButtons = {
'recording': {
id: 'toolbar_button_record',
tooltipKey: 'liveStreaming.buttonTooltip',
- className: 'button'
+ className: 'button',
+ hidden: true // will be displayed once
+ // the recording functionality is detected
},
'sharedvideo': {
id: 'toolbar_button_sharedvideo',
@@ -270,7 +272,9 @@ const defaultToolbarButtons = {
'sip': {
id: 'toolbar_button_sip',
tooltipKey: 'toolbar.sip',
- className: 'button icon-telephone'
+ className: 'button icon-telephone',
+ hidden: true // will be displayed once
+ // the SIP calls functionality is detected
},
'dialpad': {
id: 'toolbar_button_dialpad',