Skip to content

Commit

Permalink
fix(ui): Enable SS caching on RoomList.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Jun 16, 2023
1 parent dc06893 commit a75808e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/matrix-sdk-ui/src/room_list/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ impl RoomList {
let sliding_sync = client
.sliding_sync("room-list")
.map_err(Error::SlidingSync)?
.enable_caching()
.map_err(Error::SlidingSync)?
.with_common_extensions()
// TODO revert to `add_cached_list` when reloading rooms from the cache is blazingly
// fast
Expand Down

0 comments on commit a75808e

Please sign in to comment.