fix: picture update from Lobby
This commit is contained in:
@@ -91,9 +91,6 @@ class Lobby extends EventEmitter
|
||||
|
||||
this._notification(peer.socket, 'enteredLobby');
|
||||
|
||||
if (config.requireSignInToAccess && !peer.authenticated && !super.isLocked())
|
||||
this._notification(peer.socket, 'signInRequired');
|
||||
|
||||
this._peers.set(peer.id, peer);
|
||||
|
||||
peer.on('authenticationChanged', () =>
|
||||
|
||||
@@ -133,6 +133,9 @@ class Room extends EventEmitter
|
||||
{
|
||||
this._parkPeer(peer);
|
||||
|
||||
if (!this._locked)
|
||||
this._notification(peer.socket, 'signInRequired');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user