Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jitsi-meet/react/features/base/profile/reducer.js

25 lines
455 B

// @flow
import {
PROFILE_UPDATED
} from './actionTypes';
import { ReducerRegistry } from '../redux';
const DEFAULT_STATE = {
profile: {}
};
const STORE_NAME = 'features/base/profile';
ReducerRegistry.register(
STORE_NAME, (state = DEFAULT_STATE, action) => {
switch (action.type) {
case PROFILE_UPDATED:
return {
profile: action.profile
};
}
return state;
});