feat(utilities): WS send agent-socket-id to session onAny message

This commit is contained in:
Taha Yassine Kraiem 2022-02-06 22:43:10 +01:00
parent aade6410b1
commit 85016bbcb6

View file

@ -218,7 +218,7 @@ module.exports = {
io.to(socket.id).emit(NO_SESSIONS);
} else {
console.log("message sent");
io.to(socketId).emit(eventName, args[0]);
io.to(socketId).emit(eventName, socket.id, args[0]);
}
}
});