- fix issue where we cannot start breakout rooms again when the first breakout session ends.
This commit is contained in:
parent
12021fb451
commit
13b6dc065e
@ -23,7 +23,17 @@ trait BreakoutRoomEndedInternalMsgHdlr {
|
||||
breakoutModel.removeRoom(msg.meetingId)
|
||||
}
|
||||
|
||||
state.update(updatedModel)
|
||||
updatedModel match {
|
||||
case Some(model) =>
|
||||
if (model.rooms.isEmpty) {
|
||||
// All breakout rooms have ended
|
||||
state.update(None)
|
||||
} else {
|
||||
state.update(Some(model))
|
||||
}
|
||||
case None =>
|
||||
state
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user