Skip to content

Commit 691ea9a

Browse files
Sam Mills (Henchman)Sam Mills (Henchman)
authored andcommitted
Merge pull request #41 from magroski/master
Fixing presence_change event treatment
2 parents d456a0c + 98ac976 commit 691ea9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rtm.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ slackAPI.prototype.connectSlack = function (wsurl, cb) {
245245
break;
246246
}
247247
}
248+
cb(null,data);
248249
} else if (typeof events[data.type] !== 'undefined') {
249250
cb(null, data);
250251
}

0 commit comments

Comments
 (0)