How to prevent the resending of activity?

Viktor Poliakov 20 Reputation points
2024-08-17T12:17:37.4233333+00:00

Good afternoon. I'm using a chatbot API and a custom component for displaying messages. The problem is that when the browser tab is inactive for about 5 minutes and then revisited, the websocket reconnects, and the existing messages are duplicated. As a result, I have two sets of repeated activities. How can this issue be resolved?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
833 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.