diff --git a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/UserJoinMeetingAfterReconnectReqMsgHdlr.scala b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/UserJoinMeetingAfterReconnectReqMsgHdlr.scala index 670d3907d4..83b32be73e 100755 --- a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/UserJoinMeetingAfterReconnectReqMsgHdlr.scala +++ b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/UserJoinMeetingAfterReconnectReqMsgHdlr.scala @@ -6,7 +6,6 @@ import org.bigbluebutton.core.apps.voice.UserJoinedVoiceConfEvtMsgHdlr import org.bigbluebutton.core.domain.MeetingState2x import org.bigbluebutton.core.models.Users2x import org.bigbluebutton.core.running.{ HandlerHelpers, LiveMeeting, MeetingActor, OutMsgRouter } -import org.bigbluebutton.core2.message.senders.MsgBuilder trait UserJoinMeetingAfterReconnectReqMsgHdlr extends HandlerHelpers with UserJoinedVoiceConfEvtMsgHdlr { this: MeetingActor => @@ -21,7 +20,6 @@ trait UserJoinMeetingAfterReconnectReqMsgHdlr extends HandlerHelpers with UserJo if (reconnectingUser.userLeftFlag.left) { log.info("Resetting flag that user left meeting. user {}", msg.body.userId) // User has reconnected. Just reset it's flag. ralam Oct 23, 2018 - println(Users2x.findWithIntId(liveMeeting.users2x, msg.body.userId)) sendUserLeftFlagUpdatedEvtMsg(outGW, liveMeeting, msg.body.userId, false); Users2x.resetUserLeftFlag(liveMeeting.users2x, msg.body.userId) } diff --git a/bigbluebutton-html5/imports/api/users/server/handlers/userLeftFlagUpdated.js b/bigbluebutton-html5/imports/api/users/server/handlers/userLeftFlagUpdated.js index 17abfb89af..328e2fc78b 100644 --- a/bigbluebutton-html5/imports/api/users/server/handlers/userLeftFlagUpdated.js +++ b/bigbluebutton-html5/imports/api/users/server/handlers/userLeftFlagUpdated.js @@ -4,7 +4,10 @@ import userLeftFlag from '../modifiers/userLeftFlagUpdated'; export default function handleUserLeftFlag({ body }, meetingId) { const user = body; - check(user, Object); + check(user, { + intId: String, + userLeftFlag: Boolean, + }); userLeftFlag(meetingId, user.intId, user.userLeftFlag); }