fix: picture update from Lobby

This commit is contained in:
Stefan Otto
2019-10-31 01:44:06 +01:00
parent 6c07f89ab1
commit d49ef4e65f
5 changed files with 33 additions and 5 deletions
-3
View File
@@ -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', () =>
+3
View File
@@ -133,6 +133,9 @@ class Room extends EventEmitter
{
this._parkPeer(peer);
if (!this._locked)
this._notification(peer.socket, 'signInRequired');
return;
}