Bug 1074666 - Part 2 Change the toolbar icon when participants join and leave. Updated by pkerr,r=Standard8
This commit is contained in:
@@ -84,6 +84,8 @@ XPCOMUtils.defineLazyModuleGetter(this, "PanelFrame", "resource:///modules/Panel
|
||||
state = "active";
|
||||
} else if (MozLoopService.doNotDisturb) {
|
||||
state = "disabled";
|
||||
} else if (MozLoopService.roomsParticipantsCount > 0) {
|
||||
state = "active";
|
||||
}
|
||||
this.toolbarButton.node.setAttribute("state", state);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user