Removed picture from localstorage.
parent
01ea8b05d5
commit
76c6b5121e
|
|
@ -2,6 +2,7 @@ const initialState =
|
|||
{
|
||||
id : null,
|
||||
device : null,
|
||||
picture : null,
|
||||
canSendMic : false,
|
||||
canSendWebcam : false,
|
||||
canShareScreen : false,
|
||||
|
|
@ -43,6 +44,9 @@ const me = (state = initialState, action) =>
|
|||
case 'USER_LOGOUT':
|
||||
return { ...state, loggedIn: false };
|
||||
|
||||
case 'SET_PICTURE':
|
||||
return { ...state, picture: action.payload.picture };
|
||||
|
||||
case 'SET_MEDIA_CAPABILITIES':
|
||||
{
|
||||
const {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
const initialState =
|
||||
{
|
||||
displayName : 'Guest',
|
||||
picture : null,
|
||||
selectedWebcam : null,
|
||||
selectedAudioDevice : null,
|
||||
advancedMode : false,
|
||||
|
|
@ -29,11 +28,6 @@ const settings = (state = initialState, action) =>
|
|||
return { ...state, displayName };
|
||||
}
|
||||
|
||||
case 'SET_PICTURE':
|
||||
{
|
||||
return { ...state, picture: action.payload.picture };
|
||||
}
|
||||
|
||||
case 'TOGGLE_ADVANCED_MODE':
|
||||
{
|
||||
const advancedMode = !state.advancedMode;
|
||||
|
|
|
|||
Loading…
Reference in New Issue