From 1decae341c80c0417b32d3124ca30c005240b48a Mon Sep 17 00:00:00 2001 From: Sleiman Sleiman Date: Fri, 27 Apr 2018 14:03:25 +0300 Subject: [PATCH] [feat] Add local flag to the socket object (#3219) To match the behaviour on the namespace (see #2628). --- lib/socket.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/socket.js b/lib/socket.js index 6cf9b52864..9a96929728 100644 --- a/lib/socket.js +++ b/lib/socket.js @@ -39,7 +39,8 @@ exports.events = [ var flags = [ 'json', 'volatile', - 'broadcast' + 'broadcast', + 'local' ]; /**