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

Fetch scrollback history independently of main loop #39

Closed
ulyssa opened this issue Feb 10, 2023 · 0 comments
Closed

Fetch scrollback history independently of main loop #39

ulyssa opened this issue Feb 10, 2023 · 0 comments
Assignees

Comments

@ulyssa
Copy link
Owner

ulyssa commented Feb 10, 2023

Fetching scrollback history can sometimes take a long time for newly joined rooms, especially some of those on the matrix.org homeserver. This causes the main loop to hang, and prevents the user from being able to navigate away from the room to avoid triggering successive fetches. iamb should use tokio::spawn to do this independently of the main loop, and avoid holding onto the store while doing so.

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

No branches or pull requests

1 participant