diff --git a/crates/matrix-sdk-ui/src/room_list/mod.rs b/crates/matrix-sdk-ui/src/room_list/mod.rs index d4b214c71..283f76dca 100644 --- a/crates/matrix-sdk-ui/src/room_list/mod.rs +++ b/crates/matrix-sdk-ui/src/room_list/mod.rs @@ -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