From 885210452cbfae614dbc2930594a68be7f9a94f8 Mon Sep 17 00:00:00 2001 From: damencho Date: Mon, 28 Mar 2016 11:46:45 -0500 Subject: [PATCH] Updates button states on non moderator participants before showing the toolbar. --- modules/UI/UI.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/UI/UI.js b/modules/UI/UI.js index c0fad8f89..1202a429e 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();