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

This commit is contained in:
damencho 2016-03-28 11:46:45 -05:00
parent 7d0cd00a50
commit 885210452c
1 changed files with 4 additions and 0 deletions

View File

@ -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();