How to prevent the resending of activity?
Viktor Poliakov
20
Reputation points
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?
Sign in to answer