Added new option "enableBreakoutRooms" to users module.
This commit is contained in:
parent
36c36d4291
commit
3d21b291cb
@ -38,6 +38,7 @@
|
||||
allowKickUser="true"
|
||||
enableEmojiStatus="true"
|
||||
enableSettingsButton="true"
|
||||
enableBreakoutRooms="true"
|
||||
baseTabIndex="301"
|
||||
/>
|
||||
|
||||
|
@ -37,6 +37,9 @@ package org.bigbluebutton.modules.users.model
|
||||
[Bindable]
|
||||
public var enableEmojiStatus:Boolean = true;
|
||||
|
||||
[Bindable]
|
||||
public var enableBreakoutRooms:Boolean = true;
|
||||
|
||||
[Bindable]
|
||||
public var enableSettingsButton:Boolean = true;
|
||||
|
||||
@ -57,6 +60,9 @@ package org.bigbluebutton.modules.users.model
|
||||
if (vxml.@enableEmojiStatus != undefined) {
|
||||
enableEmojiStatus = (vxml.@enableEmojiStatus.toString().toUpperCase() == "TRUE") ? true : false;
|
||||
}
|
||||
if (vxml.@enableBreakoutRooms != undefined) {
|
||||
enableBreakoutRooms = (vxml.@enableBreakoutRooms.toString().toUpperCase() == "TRUE") ? true : false;
|
||||
}
|
||||
if (vxml.@enableSettingsButton != undefined) {
|
||||
enableSettingsButton = (vxml.@enableSettingsButton.toString().toUpperCase() == "TRUE") ? true : false;
|
||||
}
|
||||
|
@ -265,7 +265,7 @@
|
||||
paramsMenuData.push({label: ResourceUtil.getInstance().getString('bbb.users.settings.unmuteAll'), icon: images.audio, handler: muteAll});
|
||||
|
||||
paramsMenuData.push({label: ResourceUtil.getInstance().getString('bbb.users.settings.lockSettings'), icon: images.lock_open, handler: lockSettings});
|
||||
if (breakoutRoomsList.length == 0 && amIModerator && !UserManager.getInstance().getConference().isBreakout) {
|
||||
if (partOptions.enableBreakoutRooms && breakoutRoomsList.length == 0 && amIModerator && !UserManager.getInstance().getConference().isBreakout) {
|
||||
paramsMenuData.push({label: ResourceUtil.getInstance().getString('bbb.users.settings.breakoutRooms'), handler: breakoutRooms});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user