You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the connection is restored, messages are duplicated in the local storage.
To reproduce:
Exchange some messages with the chatbot.
Simulate network loss. For Chrome: Developer Tools -> Network -> Change from "No throttling" to "Offline"
Wait for the connection to get lost.
Change back to "No throttling".
Now you have double the messages in the local storage.
This can cause the chatbot to completely break if you have enough of reconnects. Messages are going to be exponentially increased until the limit is reached and exception is going to be thrown in options-middleware.ts on setting the messages in the storage:
When the connection is restored, messages are duplicated in the local storage.
To reproduce:
This can cause the chatbot to completely break if you have enough of reconnects. Messages are going to be exponentially increased until the limit is reached and exception is going to be thrown in
options-middleware.ts
on setting the messages in the storage:I believe the issue is because of
reducer.ts
class that has a small typo:The text was updated successfully, but these errors were encountered: