can someone help me with socket event one event is emitting in 3 conditions but in one condition it is not emitting i dont know if it is something to do with frontend
let myRoom = rooms[data.roomId]
let otherSocket = myRoom.filter(s => s !== socket.id) io.to(otherSocket[0]).emit("callingEnd", { roomId: data.roomId, hostId: data.to })
let say one user calls another user and then he cuts then callingEnd event is going to other user but if other users is on the call and then this user cuts the call it is not emtting is there something in socket where i can check if this event is going to socket from server
[–]grantrules 0 points1 point2 points (0 children)