Skip to content

Commit

Permalink
Update PetStoreAssistantBot.java
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Jan 4, 2024
1 parent 40cd715 commit dd6e794
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ protected CompletableFuture<Void> onMessageActivity(TurnContext turnContext) {

AzurePetStoreSessionInfo azurePetStoreSessionInfo = configureSession(turnContext, text);

// get the text without the session id and csrf token
if(azurePetStoreSessionInfo != null && azurePetStoreSessionInfo.getNewText() != null)
{
text = azurePetStoreSessionInfo.getNewText();
}

//the client kickoff message
if(text.equals("..."))
{
Expand Down

0 comments on commit dd6e794

Please sign in to comment.