Fixed lockSettings config loading with dynamic config.xml;
This commit is contained in:
parent
0679568656
commit
ac265adb1e
@ -53,7 +53,6 @@ package org.bigbluebutton.main.model.users {
|
||||
sort.compareFunction = sortFunction;
|
||||
users.sort = sort;
|
||||
users.refresh();
|
||||
configLockSettings();
|
||||
}
|
||||
|
||||
// Custom sort function for the users ArrayCollection. Need to put dial-in users at the very bottom.
|
||||
@ -406,7 +405,7 @@ package org.bigbluebutton.main.model.users {
|
||||
/**
|
||||
* Read default lock settings from config.xml
|
||||
* */
|
||||
private function configLockSettings():void {
|
||||
public function configLockSettings():void {
|
||||
var config:Config = BBB.initConfigManager().config;
|
||||
|
||||
var allowModeratorLocking:Boolean, disableCam:Boolean, disableMic:Boolean, disablePrivateChat:Boolean, disablePublicChat:Boolean;
|
||||
|
@ -76,6 +76,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
import org.bigbluebutton.common.events.ToolbarButtonEvent;
|
||||
import org.bigbluebutton.core.BBB;
|
||||
import org.bigbluebutton.core.events.LockControlEvent;
|
||||
import org.bigbluebutton.core.managers.UserManager;
|
||||
import org.bigbluebutton.main.events.AppVersionEvent;
|
||||
import org.bigbluebutton.main.events.BBBEvent;
|
||||
import org.bigbluebutton.main.events.ConfigEvent;
|
||||
@ -133,6 +134,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
private var confirmingLogout:Boolean = false;
|
||||
|
||||
public function initOptions(e:Event):void {
|
||||
UserManager.getInstance().getConference().configLockSettings();
|
||||
layoutOptions = new LayoutOptions();
|
||||
layoutOptions.parseOptions();
|
||||
showToolbarOpt = layoutOptions.showToolbar;
|
||||
|
Loading…
Reference in New Issue
Block a user