From b89fd1dbe20b62bb5085a77e148150fd5ee98215 Mon Sep 17 00:00:00 2001 From: Richard Alam <ritzalam@gmail.com> Date: Fri, 23 Apr 2021 21:21:23 +0000 Subject: [PATCH] - only update parent meeting if this is breakout room --- .../core/running/MeetingActorAudit.scala | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/MeetingActorAudit.scala b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/MeetingActorAudit.scala index 2b0bcbcbb9..915f5ae7c6 100755 --- a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/MeetingActorAudit.scala +++ b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/MeetingActorAudit.scala @@ -75,11 +75,13 @@ class MeetingActorAudit( // Trigger updating users of time remaining on meeting. eventBus.publish(BigBlueButtonEvent(props.meetingProp.intId, SendTimeRemainingAuditInternalMsg(props.meetingProp.intId))) - // This is a breakout room. Update the main meeting with list of users in this breakout room. - eventBus.publish(BigBlueButtonEvent( - props.meetingProp.intId, - SendBreakoutUsersAuditInternalMsg(props.breakoutProps.parentId, props.meetingProp.intId) - )) + if (props.meetingProp.isBreakout) { + // This is a breakout room. Update the main meeting with list of users in this breakout room. + eventBus.publish(BigBlueButtonEvent( + props.meetingProp.intId, + SendBreakoutUsersAuditInternalMsg(props.breakoutProps.parentId, props.meetingProp.intId) + )) + } // Trigger recording timer, only for meeting allowing recording if (props.recordProp.record) { -- GitLab