Skip to content

Commit

Permalink
Merge pull request #13 from lisb/hotfix/fix-event-handling
Browse files Browse the repository at this point in the history
fix(robot-direct): Correctly identify the task event
  • Loading branch information
krdlab authored Sep 15, 2020
2 parents 520501e + e901aa6 commit e30b256
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lisb-hubot",
"version": "3.5.0+forked.3.3.2",
"version": "3.5.1+forked.3.3.2",
"author": "hubot",
"keywords": [
"github",
Expand Down
2 changes: 1 addition & 1 deletion src/robot-direct.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const jsonMatcher = (prop, options, callback) => {
case 'select':
return !!obj.question && !!obj.options
case 'task':
return !!obj.title
return !!obj.title && !obj.note_id
case 'file':
return !!obj.file_id
case 'note_created':
Expand Down

0 comments on commit e30b256

Please sign in to comment.