From 28d5e4254b9d4111a63659a8c170f939b5451b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Sat, 11 Apr 2015 12:20:57 +0200 Subject: [PATCH] Comment connected socket availability for adapters Comment about https://github.com/Automattic/socket.io/commit/3f72dd3322bcefff07b5976ab817766e421d237b --- lib/socket.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/socket.js b/lib/socket.js index 173f238427..3fca1e47f1 100644 --- a/lib/socket.js +++ b/lib/socket.js @@ -271,6 +271,8 @@ Socket.prototype.leaveAll = function(){ /** * Called by `Namespace` upon succesful * middleware execution (ie: authorization). + * Socket is added to namespace array before + * call to join, so adapters can access it. * * @api private */