Merge pull request #18891 from paultrudel/breakout-rooms-end-fix

fix: End breakout rooms when ENDED_DUE_TO_NO_MODERATOR
This commit is contained in:
Anton Georgiev 2023-10-06 13:09:20 -04:00 committed by GitHub
commit 5cd379910f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -869,6 +869,7 @@ class MeetingActor(
val hasModeratorLeftRecently = (TimeUtil.timeNowInMs() - state.expiryTracker.endWhenNoModeratorDelayInMs) < state.expiryTracker.lastModeratorLeftOnInMs
if (!hasModeratorLeftRecently) {
log.info("Meeting will end due option endWhenNoModerator is enabled and all moderators have left the meeting. meetingId=" + props.meetingProp.intId)
endAllBreakoutRooms(eventBus, liveMeeting, state, MeetingEndReason.ENDED_DUE_TO_NO_MODERATOR)
sendEndMeetingDueToExpiry(
MeetingEndReason.ENDED_DUE_TO_NO_MODERATOR,
eventBus, outGW, liveMeeting,