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

fix: incorrect group subscription criteria for http real time user #1087

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

khorshuheng
Copy link
Collaborator

@khorshuheng khorshuheng commented Dec 18, 2024

Currently, when handling realtime update via http, the decision of whether a user should be subscribed to a group is determined by whether the client router exists for the user or not.

This is inconsistent with the web socket client behavior. It is possible, that the client router already exists for a user (eg. when multiple web updates are sent with the same device id header) , but a new subscription is still needed because the user has not yet subscribed to a different group. (eg. user is subscribed to workspace folder changes but not workspace database changes).

@appflowy appflowy merged commit 7ff9a92 into main Dec 18, 2024
9 of 10 checks passed
@appflowy appflowy deleted the fix-group-subscription branch December 18, 2024 14:48
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.

2 participants