Skip to content

Commit

Permalink
Merge pull request #41 from magroski/master
Browse files Browse the repository at this point in the history
Fixing presence_change event treatment
  • Loading branch information
Sam Mills (Henchman) authored and Sam Mills (Henchman) committed Oct 21, 2015
2 parents d456a0c + 98ac976 commit 691ea9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rtm.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ slackAPI.prototype.connectSlack = function (wsurl, cb) {
break;
}
}
cb(null,data);
} else if (typeof events[data.type] !== 'undefined') {
cb(null, data);
}
Expand Down

0 comments on commit 691ea9a

Please sign in to comment.