|
@@ -20,7 +20,6 @@ import {
|
20
|
20
|
SET_PASSWORD,
|
21
|
21
|
SET_PENDING_SUBJECT_CHANGE,
|
22
|
22
|
SET_ROOM,
|
23
|
|
- SET_SIP_GATEWAY_ENABLED,
|
24
|
23
|
SET_START_MUTED_POLICY
|
25
|
24
|
} from './actionTypes';
|
26
|
25
|
import { isRoomValid } from './functions';
|
|
@@ -90,9 +89,6 @@ ReducerRegistry.register(
|
90
|
89
|
case SET_ROOM:
|
91
|
90
|
return _setRoom(state, action);
|
92
|
91
|
|
93
|
|
- case SET_SIP_GATEWAY_ENABLED:
|
94
|
|
- return _setSIPGatewayEnabled(state, action);
|
95
|
|
-
|
96
|
92
|
case SET_START_MUTED_POLICY:
|
97
|
93
|
return {
|
98
|
94
|
...state,
|
|
@@ -416,16 +412,3 @@ function _setRoom(state, action) {
|
416
|
412
|
});
|
417
|
413
|
}
|
418
|
414
|
|
419
|
|
-/**
|
420
|
|
- * Reduces a specific Redux action SET_SIP_GATEWAY_ENABLED of the feature
|
421
|
|
- * base/conference.
|
422
|
|
- *
|
423
|
|
- * @param {Object} state - The Redux state of the feature base/conference.
|
424
|
|
- * @param {Action} action - The Redux action SET_SIP_GATEWAY_ENABLED to reduce.
|
425
|
|
- * @private
|
426
|
|
- * @returns {Object} The new state of the feature base/conference after the
|
427
|
|
- * reduction of the specified action.
|
428
|
|
- */
|
429
|
|
-function _setSIPGatewayEnabled(state, action) {
|
430
|
|
- return set(state, 'isSIPGatewayEnabled', action.isSIPGatewayEnabled);
|
431
|
|
-}
|