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

Close other socket connections when user joins #435

Open
goto-bus-stop opened this issue Mar 3, 2021 · 0 comments
Open

Close other socket connections when user joins #435

goto-bus-stop opened this issue Mar 3, 2021 · 0 comments

Comments

@goto-bus-stop
Copy link
Member

When a user joins a server from different browser tabs or devices at the same time, any mutations they make will cause the other devices to show stale data.
Long term we should address this by sending websocket notifications when state changes on the server side, so clients can always stay up to date.

That is a lot of work, so in the mean time we could shut the other connections down so the user has to reload on other devices before doing anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant