fix: picture update from Lobby

This commit is contained in:
Stefan Otto committed 2019-10-31 01:44:06 +01:00
1 parent 6c07f89ab1
commit d49ef4e65f
5 files changed
+33 -5

No files matched your search

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