- comment out debug printlns
This commit is contained in:
parent
58fed45754
commit
309ac30899
@ -34,12 +34,12 @@ trait EjectUserFromMeetingCmdMsgHdlr extends RightsManagementTrait {
|
||||
} yield {
|
||||
if (registeredUser.externId != ejectedByUser.externId) {
|
||||
// Eject users
|
||||
println("****************** User " + ejectedBy + " ejecting user " + userId)
|
||||
//println("****************** User " + ejectedBy + " ejecting user " + userId)
|
||||
// User might have joined using multiple browsers.
|
||||
// Hunt down all registered users based on extern userid and eject them all.
|
||||
// ralam april 21, 2020
|
||||
RegisteredUsers.findAllWithExternUserId(registeredUser.externId, liveMeeting.registeredUsers) foreach { ru =>
|
||||
println("****************** User " + ejectedBy + " ejecting other user " + ru.id)
|
||||
//println("****************** User " + ejectedBy + " ejecting other user " + ru.id)
|
||||
UsersApp.ejectUserFromMeeting(outGW, liveMeeting, ru.id, ejectedBy, reason, EjectReasonCode.EJECT_USER)
|
||||
// send a system message to force disconnection
|
||||
Sender.sendDisconnectClientSysMsg(meetingId, ru.id, ejectedBy, EjectReasonCode.EJECT_USER, outGW)
|
||||
@ -47,7 +47,7 @@ trait EjectUserFromMeetingCmdMsgHdlr extends RightsManagementTrait {
|
||||
} else {
|
||||
// User is ejecting self, so just eject this userid not all sessions if joined using multiple
|
||||
// browsers. ralam april 23, 2020
|
||||
println("****************** User " + ejectedBy + " ejecting self " + userId)
|
||||
//println("****************** User " + ejectedBy + " ejecting self " + userId)
|
||||
UsersApp.ejectUserFromMeeting(outGW, liveMeeting, userId, ejectedBy, reason, EjectReasonCode.EJECT_USER)
|
||||
// send a system message to force disconnection
|
||||
Sender.sendDisconnectClientSysMsg(meetingId, userId, ejectedBy, EjectReasonCode.EJECT_USER, outGW)
|
||||
|
Loading…
Reference in New Issue
Block a user