Use local room list sorting from Rust. (#2978)

* Switch to the new local room list sorting API

* Get rid of the RoomSummary enum, replace it by the inner RoomSummaryDetails

* And finally, rename RoomSummaryDetails to RoomSummary

* Fix a bunch of warnings

* Small tidy up post rebase/review.

- Remove unused invalidated property.
- Rename some RoomSummary instances to summary instead of details.
- Fix tests with missing roomListItem's.

* Update snapshots

---------

Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
Stefan Ceriu
2024-07-05 12:10:53 +03:00
committed by GitHub
parent c024702d50
commit d71c8c4e83
26 changed files with 556 additions and 608 deletions
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa2a5bff526bc76d1e1d838668a456a4af77dd626f746fad991ad3eb86f76e14
size 374036
oid sha256:37ab4eca1bd1041bbba509b7ba88da2e4ea06ae6007160753a32b818a53bf772
size 371965
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e41b327d5f9406d06df99b0be960d1025bc962ef6d9abaf06f0b6e5343ba00a0
size 387405
oid sha256:9ff87cd68b4b8214c8442531122adb3e5f62d967e8ea6b86eb335b0116fcc7ab
size 385334
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:010c0fa695f8b1df2a7f7ae77c92c4b2cf145c944bf1f77aeb29a7b93b233bd8
size 262649
oid sha256:353c0d32738f7b82684f3bce03958fcf9a3840ca72a8bf06c96c971d8096614b
size 262453
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb4c57fefc7d673a765594627994c0c5fd43cd150b3ffc62b3dfb1fbba708866
size 270419
oid sha256:9a4db77dce8f643fcf2121a02058a5e35987a93c37edd6bb19b185b6f6314ffe
size 270223