Does not play sound notifications on the recording side.

This commit is contained in:
damencho 2019-05-08 17:55:18 +01:00 committed by virtuacoplenny
parent a49f62238b
commit 198eba3682
1 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,12 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {
}
case RECORDING_SESSION_UPDATED: {
// When in recorder mode no notifications are shown
// or extra sounds are also not desired
if (getState()['features/base/config'].iAmRecorder) {
break;
}
const updatedSessionData
= getSessionById(getState(), action.sessionData.id);
const { PENDING, OFF, ON } = JitsiRecordingConstants.status;