Don't promote all peers on unlock, this bypassed roles/permissions, fixes #386
This commit is contained in:
@@ -1248,8 +1248,6 @@ class Room extends EventEmitter
|
|||||||
peerId : peer.id
|
peerId : peer.id
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
this._lobby.promoteAllPeers();
|
|
||||||
|
|
||||||
// Return no error
|
// Return no error
|
||||||
cb();
|
cb();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user