Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messages received when disconnected from ws are never received upon reconnection #12458

Open
julianlam opened this issue Apr 2, 2024 · 0 comments
Labels

Comments

@julianlam
Copy link
Member

If a user severs the websocket connection but stays on the chat page (or modal, for Persona), any messages received in the interim are not displayed to the user upon reconnection.

This happens more frequently on mobile as mobile browsers are very strict about resource consumption when a tab is not active or phone is on standby, etc.

Current backend logic doesn't have capability to retrieve messages by timestamp, but is a fairly minimal tweak to getMessageIds in src/messaging/index.js to support.

@julianlam julianlam added the bug label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant