Skip to content

Commit

Permalink
326 ordering bug (#364)
Browse files Browse the repository at this point in the history
* Possible fix for #326

* Add a ConversationAbandonedListener
  • Loading branch information
tastybento authored Oct 24, 2024
1 parent 12f3933 commit 52864d6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ public String getPromptText(@NotNull ConversationContext conversationContext)
withFirstPrompt(confirmationPrompt).
withLocalEcho(false).
withTimeout(90).
// Use null value in consumer to detect if user has abandoned conversation.
addConversationAbandonedListener(ConversationUtils.getAbandonListener(consumer, user))
.
buildConversation(user.getPlayer()).
begin();
}
Expand Down

0 comments on commit 52864d6

Please sign in to comment.