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

Save and restore event cache to/from persistent storage #164

Open
kevinaboos opened this issue Sep 26, 2024 · 1 comment
Open

Save and restore event cache to/from persistent storage #164

kevinaboos opened this issue Sep 26, 2024 · 1 comment
Labels
blocked Blocked on another issue or missing feature

Comments

@kevinaboos
Copy link
Member

Now that a user's login session is properly persisted to/from storage on all platforms, the next step is to:

  1. Serialize the actual set of all timeline events (as a list of SyncTimelineEvents) upon app exit, or perhaps upon another lifecycle stage.
  2. Deserialize them and repopulate the event cache before synchronizing any timelines, using the EventCache::add_initial_events()
    • We just removed an erroneous invocation of this function in fde5d29
@github-project-automation github-project-automation bot moved this to Ready in Robrix Sep 26, 2024
@kevinaboos kevinaboos added the blocked Blocked on another issue or missing feature label Nov 11, 2024
@kevinaboos
Copy link
Member Author

This is blocked on the Matrix Rust SDK, which currently doesn't fully implement EventCache features that allow the client to customize how events are extracted from and imported into the cache.

@kevinaboos kevinaboos moved this from Ready to Blocked in Robrix Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked on another issue or missing feature
Projects
Status: Blocked
Development

No branches or pull requests

1 participant