Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Update botkit-middleware-witai.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinJayaswal authored Aug 17, 2016
1 parent 9f7d49e commit 6d33017
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/botkit-middleware-witai.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ module.exports = function(config) {
}
});
}
else if (message.attachments) {
message.intents = [];
next();
}

};

Expand Down

0 comments on commit 6d33017

Please sign in to comment.