Skip to content

Commit 1fa6a4a

Browse files
committed
chore(ui): Remove SlidingSyncRoomExt.
This patch removes the `matrix_sdk_ui::timeline::SlidingSyncRoomExt` trait as it's no longer necessary since `room_list::Room::latest_event` no longer uses `SlidingSyncRoom` to fetch the latest event.
1 parent 8021d72 commit 1fa6a4a

File tree

3 files changed

+0
-146
lines changed

3 files changed

+0
-146
lines changed

crates/matrix-sdk-ui/src/timeline/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ mod pagination;
7878
mod polls;
7979
mod reactions;
8080
mod read_receipts;
81-
mod sliding_sync_ext;
8281
#[cfg(test)]
8382
mod tests;
8483
#[cfg(feature = "e2e-encryption")]
@@ -102,7 +101,6 @@ pub use self::{
102101
pagination::LiveBackPaginationStatus,
103102
polls::PollResult,
104103
reactions::ReactionSenderData,
105-
sliding_sync_ext::SlidingSyncRoomExt,
106104
traits::RoomExt,
107105
virtual_item::VirtualTimelineItem,
108106
};

crates/matrix-sdk-ui/src/timeline/sliding_sync_ext.rs

Lines changed: 0 additions & 140 deletions
This file was deleted.

crates/matrix-sdk/src/sliding_sync/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,6 @@ copies accordingly. Because of where the loop sits in the stack, that can
343343
be a bit tedious though, so lists and rooms have an additional way of
344344
subscribing to updates via [`eyeball`].
345345

346-
The `Timeline` one can receive per room by calling `.timeline()` (from
347-
`matrix_sdk_ui::timeline::SlidingSyncRoomExt`) will be populated with the
348-
currently cached timeline events.
349-
350346
## Caching
351347

352348
All room data, for filled but also _invalidated_ rooms, including the entire

0 commit comments

Comments
 (0)