Remove browser info for users.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
const initialState =
|
||||
{
|
||||
id : null,
|
||||
device : null,
|
||||
picture : null,
|
||||
canSendMic : false,
|
||||
canSendWebcam : false,
|
||||
@@ -27,14 +26,12 @@ const me = (state = initialState, action) =>
|
||||
{
|
||||
const {
|
||||
peerId,
|
||||
device,
|
||||
loginEnabled
|
||||
} = action.payload;
|
||||
|
||||
return {
|
||||
...state,
|
||||
id : peerId,
|
||||
device,
|
||||
loginEnabled
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user