From ac210ca39c381cd389b9cca96e094b61726b1b09 Mon Sep 17 00:00:00 2001 From: GuiLeme Date: Fri, 16 Jun 2023 13:52:44 -0300 Subject: [PATCH] [I-18101-back-end-tweak] - back-end portion - minor tweak --- .../core/apps/timer/TimerEndedPubMsgHdlr.scala | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/timer/TimerEndedPubMsgHdlr.scala b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/timer/TimerEndedPubMsgHdlr.scala index 0b4b6c24c7..42a8f66b32 100644 --- a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/timer/TimerEndedPubMsgHdlr.scala +++ b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/timer/TimerEndedPubMsgHdlr.scala @@ -23,14 +23,7 @@ trait TimerEndedPubMsgHdlr extends RightsManagementTrait { bus.outGW.send(msgEvent) } - val isTimerFeatureEnabled: Boolean = !liveMeeting.props.meetingProp.disabledFeatures.contains("timer") - - if (!isTimerFeatureEnabled) { - log.error("Timer feature is disabled for meeting {}, meetingId={}", liveMeeting.props.meetingProp.name, - liveMeeting.props.meetingProp.intId) - } else { - TimerModel.setEndedAt(liveMeeting.timerModel, System.currentTimeMillis()) - broadcastEvent() - } + TimerModel.setEndedAt(liveMeeting.timerModel, System.currentTimeMillis()) + broadcastEvent() } -} \ No newline at end of file +}