Skip to content

Commit 7393d17

Browse files
authored
Merge pull request #13 from kalm/v2.6.1
v2.6.1
2 parents 5b71784 + c8777a1 commit 7393d17

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Giving profiles to your traffic output creates a more predictable load on the sy
6666
req.client The connection handle reference
6767
req.frame The details of the network frame
6868
req.session The session store for that connection
69+
req.reply Replys to the other client on the same channel
6970
*/
7071
});
7172

src/components/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function Client(scope, queueList, multiplex, serializer, sessions, encrypter) {
8989
return {
9090
body,
9191
client: scope,
92-
reply: scope.write,
92+
reply: scope.write.bind(null, frame.channel),
9393
frame: {
9494
id: frame.frame,
9595
channel: frame.channel,

0 commit comments

Comments
 (0)