mirror of
https://gitlab.com/comunic/nodejs-webrtcsignalexchangerserver
synced 2025-06-19 17:35:19 +00:00
Fix error
This commit is contained in:
@ -175,7 +175,7 @@ exports.addSocket = function(socket){
|
||||
}
|
||||
|
||||
//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"){
|
||||
SendMessageToSocket(socket, {
|
||||
|
Reference in New Issue
Block a user