diff --git a/src/ws/handler.js b/src/ws/handler.js index 47aa53a..d1ee0fa 100644 --- a/src/ws/handler.js +++ b/src/ws/handler.js @@ -27,6 +27,7 @@ const handleMsg = async (msg, id) => { try { const d = JSON.parse(msg) if (d.hasOwnProperty('subscribe') && channelEvents.indexOf(d.subscribe) !== -1) { + console.log('received sub for ', d.subscribe) const channel = d.subscribe.split(':')[0] connections[id].events.push(d.subscribe) const dm = {