fix: create meeting message order precedes group chat message in akka-apps

This commit is contained in:
Aron Engineer 2021-03-15 22:34:54 +00:00
parent cabddc6ddf
commit eb601eef3e
2 changed files with 4 additions and 4 deletions

View File

@ -135,10 +135,6 @@ class BigBlueButtonActor(
RunningMeetings.add(meetings, m)
// Send new 2x message
val msgEvent = MsgBuilder.buildMeetingCreatedEvtMsg(m.props.meetingProp.intId, msg.body.props)
m.outMsgRouter.send(msgEvent)
case Some(m) =>
log.info("Meeting already created. meetingID={}", msg.body.props.meetingProp.intId)
// do nothing

View File

@ -156,6 +156,10 @@ class MeetingActor(
var lastRttTestSentOn = System.currentTimeMillis()
// Send new 2x message
val msgEvent = MsgBuilder.buildMeetingCreatedEvtMsg(liveMeeting.props.meetingProp.intId, liveMeeting.props)
outGW.send(msgEvent)
// Create a default public group chat
state = groupChatApp.handleCreateDefaultPublicGroupChat(state, liveMeeting, msgBus)