howdyai / botkit-middleware-witai

Middleware for using Wit.ai with Botkit-powered bots
MIT License
87 stars 49 forks source link

middleware.receive never proceeds when message.text is undefined #23

Closed sido378 closed 7 years ago

sido378 commented 7 years ago

as written in the title, the receive middleware never calls next if message.text evaluates to false therefore, for instance for attachment messages via facebook messenger, using the middleware will prevent the message from being processed