Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

510 B
Raw Blame
import ReducerRegistry from '../base/redux/ReducerRegistry';

import { SIP_GW_AVAILABILITY_CHANGED } from './actionTypes';

export interface IVideoSipGW {
    status?: string;
}

ReducerRegistry.register<IVideoSipGW>(
    'features/videosipgw', (state = {}, action): IVideoSipGW => {
        switch (action.type) {
        case SIP_GW_AVAILABILITY_CHANGED: {
            return {
                ...state,
                status: action.status
            };
        }
        }

        return state;
    });