Skip to content

Commit

Permalink
[feat] Add local flag to the socket object (socketio#3219)
Browse files Browse the repository at this point in the history
To match the behaviour on the namespace (see socketio#2628).
  • Loading branch information
sleimanx2 authored and darrachequesne committed Apr 27, 2018
1 parent 0279c47 commit 1decae3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ exports.events = [
var flags = [
'json',
'volatile',
'broadcast'
'broadcast',
'local'
];

/**
Expand Down

0 comments on commit 1decae3

Please sign in to comment.