Wrong state variable name.

master
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

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);

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,

View File

@ -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');
}