ed2d3bc5b3
The Sliding Sync list `all_rooms` and `visible_rooms` of the `RoomList` must have the exact same configurations for `sort`, `filters`, and `bump_event_types`. Instead of maintaining the same code, this patch adds a new function: `configure_all_or_visible_rooms_list` that configures the lists exactly the same. This function also explicitely configures `sort` so that we do no rely on the default values from `SlidingSyncListBuilder`.