Skip to content

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

Updates button states on non moderator participants before showing the toolbar.

damencho885210452cbf
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index c0fad8f891..1202a429e6 100644
--- a/modules/UI/UI.js
+++ b/modules/UI/UI.js
@@ -233,6 +233,10 @@ UI.initConference = function () {
// Add myself to the contact list.
ContactList.addContact(id);
+ //update default button states before showing the toolbar
+ //if local role changes buttons state will be again updated
+ UI.updateLocalRole(false);
+
// Once we've joined the muc show the toolbar
ToolbarToggler.showToolbar();