From cbcdd912c9aef3abf7268ae68ceb66ce0fac635f Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Sat, 22 Oct 2016 11:04:14 -0400 Subject: [PATCH] Comments were for non-redux scenario --- realtime/junto.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/realtime/junto.js b/realtime/junto.js index f97efdbc..2e6f9780 100644 --- a/realtime/junto.js +++ b/realtime/junto.js @@ -39,8 +39,6 @@ module.exports = function (io, store) { socket.on(ACCEPT_CALL, function (data) { socket.broadcast.in(userMapRoom(data.inviter, data.mapid)).emit(CALL_ACCEPTED, data.invited) - // convert this so that it broadcasts to all sockets and includes the map id - // and who's participating socket.broadcast.in(mapRoom(data.mapid)).emit(CALL_STARTED) }) @@ -53,14 +51,10 @@ module.exports = function (io, store) { }) socket.on(JOIN_CALL, function (data) { - // convert this so that it broadcasts to all sockets and includes the map id - // and info about who joined socket.broadcast.in(mapRoom(data.mapid)).emit(MAPPER_JOINED_CALL, data.id) }) socket.on(LEAVE_CALL, function (data) { - // convert this so that it broadcasts to all sockets and includes the map id - // and info about who joined socket.broadcast.in(mapRoom(data.mapid)).emit(MAPPER_LEFT_CALL, data.id) }) })