Don't promote all peers on unlock, this bypassed roles/permissions, fixes #386

auto_join_3.3
Håvar Aambø Fosstveit 2020-05-22 19:59:43 +02:00
parent d5e14f8c5b
commit 803858575f
1 changed files with 0 additions and 2 deletions

View File

@ -1248,8 +1248,6 @@ class Room extends EventEmitter
peerId : peer.id
}, true);
this._lobby.promoteAllPeers();
// Return no error
cb();