Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent statements that are not in response to a known statement from being passed to the logic adapter. #81

Merged
merged 2 commits into from
Nov 24, 2015

Conversation

gunthercox
Copy link
Owner

This corrects an issue for cases where no statements exist that are in response to the closest matching statement. This previously resulted in a case where a matching response could not be found and caused a random response to be returned.

Closes #71
Closes #72

statement that lists them in the in_response_to field.

This change prevents random responses from being returned when the
closest match to the input statement is not a response of any known
statement.
gunthercox added a commit that referenced this pull request Nov 24, 2015
Prevent statements that are not in response to a known statement from being passed to the logic adapter.
@gunthercox gunthercox merged commit c532d68 into master Nov 24, 2015
@gunthercox gunthercox deleted the answer branch November 24, 2015 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant