Merge pull request #4490 from pedrobmarin/fix-4410
Updating presenter status
This commit is contained in:
commit
d9bf0c6752
@ -67,6 +67,10 @@ class ReceivedJsonMsgHdlrActor(val msgFromAkkaAppsEventBus: MsgFromAkkaAppsEvent
|
|||||||
route[CheckAlivePongSysMsg](envelope, jsonNode)
|
route[CheckAlivePongSysMsg](envelope, jsonNode)
|
||||||
case UserEmojiChangedEvtMsg.NAME =>
|
case UserEmojiChangedEvtMsg.NAME =>
|
||||||
route[UserEmojiChangedEvtMsg](envelope, jsonNode)
|
route[UserEmojiChangedEvtMsg](envelope, jsonNode)
|
||||||
|
case PresenterUnassignedEvtMsg.NAME =>
|
||||||
|
route[PresenterUnassignedEvtMsg](envelope, jsonNode)
|
||||||
|
case PresenterAssignedEvtMsg.NAME =>
|
||||||
|
route[PresenterAssignedEvtMsg](envelope, jsonNode)
|
||||||
case UserJoinedMeetingEvtMsg.NAME =>
|
case UserJoinedMeetingEvtMsg.NAME =>
|
||||||
route[UserJoinedMeetingEvtMsg](envelope, jsonNode)
|
route[UserJoinedMeetingEvtMsg](envelope, jsonNode)
|
||||||
case UserLeftMeetingEvtMsg.NAME =>
|
case UserLeftMeetingEvtMsg.NAME =>
|
||||||
|
@ -26,6 +26,8 @@ class OldMeetingMsgHdlrActor(val olgMsgGW: OldMessageReceivedGW)
|
|||||||
case m: MeetingDestroyedEvtMsg => handleMeetingDestroyedEvtMsg(m)
|
case m: MeetingDestroyedEvtMsg => handleMeetingDestroyedEvtMsg(m)
|
||||||
case m: CheckAlivePongSysMsg => handleCheckAlivePongSysMsg(m)
|
case m: CheckAlivePongSysMsg => handleCheckAlivePongSysMsg(m)
|
||||||
case m: UserEmojiChangedEvtMsg => handleUserEmojiChangedEvtMsg(m)
|
case m: UserEmojiChangedEvtMsg => handleUserEmojiChangedEvtMsg(m)
|
||||||
|
case m: PresenterUnassignedEvtMsg => handlePresenterUnassignedEvtMsg(m)
|
||||||
|
case m: PresenterAssignedEvtMsg => handlePresenterAssignedEvtMsg(m)
|
||||||
case m: UserJoinedMeetingEvtMsg => handleUserJoinedMeetingEvtMsg(m)
|
case m: UserJoinedMeetingEvtMsg => handleUserJoinedMeetingEvtMsg(m)
|
||||||
case m: UserLeftMeetingEvtMsg => handleUserLeftMeetingEvtMsg(m)
|
case m: UserLeftMeetingEvtMsg => handleUserLeftMeetingEvtMsg(m)
|
||||||
case m: UserJoinedVoiceConfToClientEvtMsg => handleUserJoinedVoiceConfToClientEvtMsg(m)
|
case m: UserJoinedVoiceConfToClientEvtMsg => handleUserJoinedVoiceConfToClientEvtMsg(m)
|
||||||
@ -76,6 +78,14 @@ class OldMeetingMsgHdlrActor(val olgMsgGW: OldMessageReceivedGW)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def handlePresenterUnassignedEvtMsg(msg: PresenterUnassignedEvtMsg): Unit = {
|
||||||
|
olgMsgGW.handle(new UserStatusChanged(msg.header.meetingId, msg.body.intId, "presenter", "false"))
|
||||||
|
}
|
||||||
|
|
||||||
|
def handlePresenterAssignedEvtMsg(msg: PresenterAssignedEvtMsg): Unit = {
|
||||||
|
olgMsgGW.handle(new UserStatusChanged(msg.header.meetingId, msg.body.presenterId, "presenter", "true"))
|
||||||
|
}
|
||||||
|
|
||||||
def handleUserEmojiChangedEvtMsg(msg: UserEmojiChangedEvtMsg): Unit = {
|
def handleUserEmojiChangedEvtMsg(msg: UserEmojiChangedEvtMsg): Unit = {
|
||||||
//listener.handle(new UserStatusChanged(meetingId, userid, status, value))
|
//listener.handle(new UserStatusChanged(meetingId, userid, status, value))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user