Merge pull request #4570 from ritzalam/add-user-on-reconnect

- add user into user's list when auto-reconnected to bbb-apps
This commit is contained in:
Richard Alam 2017-10-25 17:59:47 -04:00 committed by GitHub
commit 436b4bcc1b

View File

@ -14,13 +14,14 @@ trait UserJoinMeetingAfterReconnectReqMsgHdlr extends HandlerHelpers with Breako
val outGW: OutMsgRouter val outGW: OutMsgRouter
def handleUserJoinMeetingAfterReconnectReqMsg(msg: UserJoinMeetingAfterReconnectReqMsg, state: MeetingState2x): MeetingState2x = { def handleUserJoinMeetingAfterReconnectReqMsg(msg: UserJoinMeetingAfterReconnectReqMsg, state: MeetingState2x): MeetingState2x = {
val newState = userJoinMeeting(outGW, msg.body.authToken, liveMeeting, state)
if (liveMeeting.props.meetingProp.isBreakout) {
updateParentMeetingWithUsers()
}
/** /**
* val newState = userJoinMeeting(outGW, msg.body.authToken, liveMeeting, state) * *
*
* if (liveMeeting.props.meetingProp.isBreakout) {
* updateParentMeetingWithUsers()
* }
*
* // recover voice user * // recover voice user
* for { * for {
* vu <- VoiceUsers.recoverVoiceUser(liveMeeting.voiceUsers, msg.body.userId) * vu <- VoiceUsers.recoverVoiceUser(liveMeeting.voiceUsers, msg.body.userId)