Enables all recording/livestreaming notifications in sip gw mode.

This commit is contained in:
damencho
2020-01-27 16:20:32 +00:00
committed by Дамян Минков
parent b8eda2b68d
commit 775c531fe7
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -127,7 +127,13 @@ 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) {
// but we want to indicate those in case of sip gateway
const {
iAmRecorder,
iAmSipGateway
} = getState()['features/base/config'];
if (iAmRecorder && !iAmSipGateway) {
break;
}