Wrong state variable name.

This commit is contained in:
Håvar Aambø Fosstveit
2019-10-25 14:13:58 +02:00
parent 6dc3f537e4
commit 80c6c441cb
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -321,7 +321,7 @@ export default class RoomClient
const { displayName, picture } = data;
if (store.getState().room.joined)
if (store.getState().room.joined || store.getState().room.inLobby)
{
this.changeDisplayName(displayName);
this.changeProfilePicture(picture);
+1 -1
View File
@@ -3,7 +3,7 @@ const initialState =
url : null,
state : 'new', // new/connecting/connected/disconnected/closed,
locked : false,
enteredLobby : false,
inLobby : false,
accessCode : '', // access code to the room if locked and joinByAccessCode == true
joinByAccessCode : true, // if true: accessCode is a possibility to open the room
activeSpeakerId : null,