mirror of
https://gitlab.com/comunic/nodejs-webrtcsignalexchangerserver
synced 2024-11-21 21:09:27 +00:00
Fix error
This commit is contained in:
parent
b12a28c4d0
commit
0ed864c7d3
@ -175,7 +175,7 @@ exports.addSocket = function(socket){
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Check if the client wants to send a ready signal to another client
|
//Check if the client wants to send a ready signal to another client
|
||||||
else if(data.ready_msg, data.target_id){
|
else if(data.ready_msg && data.target_id){
|
||||||
|
|
||||||
if(typeof data.target_id !== "string"){
|
if(typeof data.target_id !== "string"){
|
||||||
SendMessageToSocket(socket, {
|
SendMessageToSocket(socket, {
|
||||||
|
Loading…
Reference in New Issue
Block a user