-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
6 changed files
with
21 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.