- apply lock settings

This commit is contained in:
Richard Alam 2014-06-11 13:00:53 -07:00
parent c7ceb58f43
commit 702c57ebab
2 changed files with 9 additions and 1 deletions

View File

@ -38,7 +38,13 @@ trait LayoutApp {
currentLayout = msg.layout
broadcastSyncLayout(msg.meetingID, msg.requesterID)
}
def handleLockLayout(lock: Boolean, setById: String) {
outGW.send(new LockLayoutEvent(meetingID, recorded, setById, lock, affectedUsers))
broadcastSyncLayout(meetingID, setById)
}
def affectedUsers():Array[UserVO] = {
if (viewersOnly) {
val au = ArrayBuffer[UserVO]()

View File

@ -130,6 +130,8 @@ trait UsersApp {
newPermissions(msg.settings)
val au = affectedUsers(msg.settings)
outGW.send(new NewPermissionsSetting(meetingID, msg.setByUser, permissions, au))
handleLockLayout(msg.settings.lockedLayout, msg.setByUser)
}
}