- query for lock settings when client starts

This commit is contained in:
Richard Alam 2018-02-20 13:56:18 -08:00
parent d49456631b
commit f777cacd10
2 changed files with 8 additions and 1 deletions

View File

@ -164,6 +164,7 @@ package org.bigbluebutton.lib.main.commands {
presentationService.getPresentationPods();
meetingData.users.userChangeSignal.add(successUsersAdded);
usersService.queryForParticipants();
usersService.getLockSettings();
usersService.queryForRecordingStatus();
userSession.successJoiningMeetingSignal.remove(joiningMeetingSuccess);
userSession.failureJoiningMeetingSignal.remove(joiningMeetingFailure);

View File

@ -138,7 +138,13 @@ package org.bigbluebutton.lib.user.services {
public function getLockSettings():void {
trace("UsersMessageSender::getLockSettings() -- Sending [getLockSettings] message to server");
userSession.mainConnection.sendMessage("lock.getLockSettings", defaultSuccessResponse, defaultFailureResponse);
var message:Object = {
header: {name: "GetLockSettingsReqMsg", meetingId: conferenceParameters.meetingID,
userId: conferenceParameters.internalUserID},
body: {requesterId: conferenceParameters.internalUserID}
};
userSession.mainConnection.sendMessage2x(defaultSuccessResponse, defaultFailureResponse, message);
}
public function saveLockSettings(newLockSettings:Object):void {