feat(utilities): WS send agent-socket-id to session onAny message
This commit is contained in:
parent
aade6410b1
commit
85016bbcb6
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue