Moving CheckRunningAndRecordingVoiceConfEvtMsg outside the messages that affect inactivity handler

This commit is contained in:
Pedro Beschorner Marin 2019-12-12 17:46:11 -03:00
parent 690d34029d
commit 13060aef26

View File

@ -276,15 +276,10 @@ class MeetingActor(
}
private def handleBbbCommonEnvCoreMsg(msg: BbbCommonEnvCoreMsg): Unit = {
msg.core match {
case m: ClientToServerLatencyTracerMsg => handleMessageThatDoesNotAffectsInactivity(msg)
case _ => handleMessageThatAffectsInactivity(msg)
}
}
private def handleMessageThatDoesNotAffectsInactivity(msg: BbbCommonEnvCoreMsg): Unit = {
msg.core match {
case m: ClientToServerLatencyTracerMsg => handleClientToServerLatencyTracerMsg(m)
case m: CheckRunningAndRecordingVoiceConfEvtMsg => handleCheckRunningAndRecordingVoiceConfEvtMsg(m)
case _ => handleMessageThatAffectsInactivity(msg)
}
}
@ -380,8 +375,6 @@ class MeetingActor(
case m: UserConnectedToGlobalAudioMsg => handleUserConnectedToGlobalAudioMsg(m)
case m: UserDisconnectedFromGlobalAudioMsg => handleUserDisconnectedFromGlobalAudioMsg(m)
case m: VoiceConfRunningEvtMsg => handleVoiceConfRunningEvtMsg(m)
case m: CheckRunningAndRecordingVoiceConfEvtMsg =>
handleCheckRunningAndRecordingVoiceConfEvtMsg(m)
case m: UserStatusVoiceConfEvtMsg =>
handleUserStatusVoiceConfEvtMsg(m)