snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
21
react/features/mobile/call-integration/reducer.ts
Normal file
21
react/features/mobile/call-integration/reducer.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import ReducerRegistry from '../../base/redux/ReducerRegistry';
|
||||
import { set } from '../../base/redux/functions';
|
||||
|
||||
import CallKit from './CallKit';
|
||||
import ConnectionService from './ConnectionService';
|
||||
import { _SET_CALL_INTEGRATION_SUBSCRIPTIONS } from './actionTypes';
|
||||
|
||||
export interface ICallIntegrationState {
|
||||
subscriptions?: any;
|
||||
}
|
||||
|
||||
(CallKit || ConnectionService) && ReducerRegistry.register<ICallIntegrationState>(
|
||||
'features/call-integration',
|
||||
(state = {}, action): ICallIntegrationState => {
|
||||
switch (action.type) {
|
||||
case _SET_CALL_INTEGRATION_SUBSCRIPTIONS:
|
||||
return set(state, 'subscriptions', action.subscriptions);
|
||||
}
|
||||
|
||||
return state;
|
||||
});
|
||||
Reference in New Issue
Block a user