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

[Bug Fix] All Instance Removed on Removing Single Instance #894

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

ritikramuka
Copy link
Contributor

@ritikramuka ritikramuka commented Apr 4, 2024

This PR addresses a critical bug where removing an instance of a user would inadvertently remove all their presence information from both the page-level and collaborative views. The new approach ensures robust, individual tracking of user instances, optimizing real-time collaboration and presence awareness.
Enhancement done: user connection data is directly mapped with user IDs. This mapping allows for the precise removal of specific user connections when they are no longer active, without affecting the presence information of other instances or the overarching user presence.

…Data instead of _entityId in connectedUsersMap
@ritikramuka ritikramuka requested review from a team as code owners April 4, 2024 06:15
@tyaginidhi tyaginidhi merged commit bcccebd into main Apr 5, 2024
6 checks passed
@tyaginidhi tyaginidhi deleted the users/ramukaritik/BugFixForCoPresence branch April 5, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants