Skip to content

Commit

Permalink
handle button answer
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobasco99 committed Jun 13, 2024
1 parent b29a36b commit 321bf36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ public Response nextQuestion(@FormDataParam("msg") String msg, @FormDataParam("c
}

String message;
if (bodyInput.getAsString("msg").substring(0).equals("!")) {
if (bodyInput.getAsString("msg").startsWith("!SurveyAnswer")) {
message = intent.substring(intent.length() - 1);
} else {
message = bodyInput.getAsString("msg");
Expand Down

0 comments on commit 321bf36

Please sign in to comment.