Fix the user list not working with the WebRTC service and causing major issues
This commit is contained in:
@@ -9,7 +9,6 @@ var run = module.exports.run = function(server) {
|
||||
socket.on('message', (data) => {
|
||||
try {
|
||||
let msg = JSON.parse(data)
|
||||
console.log(msg);
|
||||
if (msg.hasOwnProperty('key')) {
|
||||
for (let master of server.clients) {
|
||||
if (master.key === msg.key) {
|
||||
|
||||
Reference in New Issue
Block a user