Wrong state variable name.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user