Fix an issue with the WebRTC service where it was impossible to join a channel once someone had left this channel
This commit is contained in:
@@ -49,7 +49,6 @@ var popPassword = function (msg) {
|
||||
};
|
||||
|
||||
var sendMsg = function (msg, socket) {
|
||||
console.log('>> '+msg);
|
||||
socket.send(msg);
|
||||
};
|
||||
|
||||
@@ -109,7 +108,6 @@ var dropClient = function (ctx, userpass) {
|
||||
};
|
||||
|
||||
var handleMessage = function (ctx, socket, msg) {
|
||||
console.log('<< '+msg);
|
||||
var parsed = parseMessage(msg);
|
||||
var userPass = parsed.user + ':' + parsed.pass;
|
||||
msg = popPassword(msg);
|
||||
|
||||
Reference in New Issue
Block a user