[I-18101-back-end-tweak] - back-end portion - minor tweak

This commit is contained in:
GuiLeme 2023-06-16 13:52:44 -03:00
parent ef1b00fe7f
commit ac210ca39c

View File

@ -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()
}
}
}