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

Ensure the rooms list is always freshly updated #51

Merged

Conversation

kevinaboos
Copy link
Member

Sometimes an Event::Signal gets lost (applied to a different event generation), so we were missing them in the rooms_list event handler. This manifested as some rooms failing to be displayed if they were discovered after a user had clicked away from the rooms_list screen and then navigated back to the screen.

Now, we check for updates to the rooms on every event handler, which ensures we never miss any updates even if an Event::Signal was missed.

Sometimes an `Event::Signal` gets lost (applied to a different event generation),
so we were missing them in the rooms_list event handler.
This manifested as some rooms failing to be displayed if they were discovered
after a user had clicked away from the rooms_list screen and then navigated
back to the screen.

Now, we check for updates to the rooms on every event handler,
which ensures we never miss any updates even if an `Event::Signal` was missed.
@kevinaboos kevinaboos merged commit 3f94b3a into project-robius:main Feb 23, 2024
1 check passed
@kevinaboos kevinaboos deleted the rooms_list_event_handling branch February 23, 2024 23:03
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.

1 participant