Skip to content

Commit

Permalink
Revert "rocketchat: fix reactToMessages callback"
Browse files Browse the repository at this point in the history
This reverts commit dd457fc.
  • Loading branch information
jsundahl authored and mdbarr committed Feb 17, 2022
1 parent 838209e commit e0e00a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ function RocketChat (skyfall) {
source: id,
});

return driver.reactToMessages((error, messages) => {
message = messages[0]
return driver.reactToMessages((error, message) => {
if (error) {
skyfall.events.emit({
type: `rocketchat:${ name }:error`,
Expand Down

0 comments on commit e0e00a9

Please sign in to comment.