Wrong state variable name.
parent
6dc3f537e4
commit
80c6c441cb
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -131,8 +131,6 @@ class Peer extends EventEmitter
|
|||
{
|
||||
if (authenticated !== this._authenticated)
|
||||
{
|
||||
logger.info('authenticated() | authenticationChange [peer:"%s", authenticated:"%s"]', this.id, authenticated);
|
||||
|
||||
this._authenticated = authenticated;
|
||||
this.emit('authenticationChange');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue