Comparing version 0.27.1 to 0.27.2
{ | ||
"name": "botnaut", | ||
"version": "0.27.1", | ||
"version": "0.27.2", | ||
"description": "Facebook Messenger Chatbot Framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -247,4 +247,7 @@ /* | ||
const isUserEvent = req.isMessage() || req.isPostBack() | ||
|| req.isReferral() || req.isAttachment(); | ||
// reset expectations | ||
if (req.isMessage() && !res.newState._expected) { | ||
if (isUserEvent && !res.newState._expected) { | ||
state._expected = null; | ||
@@ -254,3 +257,3 @@ } | ||
// reset expectations | ||
if (req.isMessage() && !res.newState._expectedKeywords) { | ||
if (isUserEvent && !res.newState._expectedKeywords) { | ||
state._expectedKeywords = null; | ||
@@ -257,0 +260,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3070132
102
17465