diff --git a/lib/rtm.js b/lib/rtm.js index c0f17a9..813c3b7 100644 --- a/lib/rtm.js +++ b/lib/rtm.js @@ -245,6 +245,7 @@ slackAPI.prototype.connectSlack = function (wsurl, cb) { break; } } + cb(null,data); } else if (typeof events[data.type] !== 'undefined') { cb(null, data); }