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

feat(sdk): Remove FrozenSlidingSyncRoom::timeline #3092

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Feb 5, 2024

  1. Configuration menu
    Copy the full SHA
    bd6036d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d49979 View commit details
    Browse the repository at this point in the history
  3. feat(sdk): Remove FrozenSlidingSyncRoom::timeline.

    This patch removes `FrozenSlidingSyncRoom::timeline`, which means we no
    longer cache on-disk the latest events (up to 10). This feature will be
    back in a cleaner way with `matrix_sdk_ui::event_graph`.
    
    Because `FrozenSlidingSyncRoom::timeline` is removed, we can also remove
    `SlidingSyncRoom::prev_batch`! It was stored here only to handle this
    `timeline_queue` when restored back from the cache. The `prev_batch`
    is already stored correctly in `RoomInfo`, no need to store it here
    anymore.
    Hywan committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    12dc4cb View commit details
    Browse the repository at this point in the history