mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-16 20:49:05 -04:00
fix(ui): Enable SS caching on RoomList.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user