From 78aea10b097cddf241ebc457d1db7742b8fc9a0c Mon Sep 17 00:00:00 2001 From: Kelvin <30907075+LordExodia@users.noreply.github.com> Date: Fri, 29 May 2020 11:28:54 -0500 Subject: [PATCH] =?UTF-8?q?C=C3=B3digo=20comentado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/utils/sockets.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/server/utils/sockets.js b/server/utils/sockets.js index aa10721..0256298 100644 --- a/server/utils/sockets.js +++ b/server/utils/sockets.js @@ -128,14 +128,9 @@ const Sockets = function () { //Do some cleanup here }); }; + + // Sería bueno quitar este cógigo comentado - /* TO DO: Notify chat message - sockets.notifyAll = (data) => { - for (let ws of clients) { - ws.send(data); - } - }; - */ return sockets; };