matrix-rust-sdk icon indicating copy to clipboard operation
matrix-rust-sdk copied to clipboard

[Meta] `SlidingSyncRoom` tech debt

Open Hywan opened this issue 1 year ago • 0 comments

We have a non-neligeable tech debt about matrix_sdk::sliding_sync::SlidingSyncRoom.

It holds data that are not shared with the matrix_sdk::Room. Ideally, we want SlidingSyncRoom to not exist.

The idea is to clean this as much as possible.


Blocked by:

  • We need the event cache (#3058) to have a storage, so that we can get rid off SlidingSyncRoom::timeline_queue,
  • [x] https://github.com/matrix-org/matrix-rust-sdk/pull/3166
  • [ ] https://github.com/matrix-org/matrix-rust-sdk/pull/3512

Hywan avatar Feb 01 '24 10:02 Hywan