Rename user rooms iterations which have state vectors as values.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-10-04 06:08:35 +00:00
parent aef38b1178
commit ee777bc287
5 changed files with 31 additions and 31 deletions

View File

@@ -119,13 +119,13 @@ pub(crate) async fn sync_events_v5_route(
let all_invited_rooms = services
.state_cache
.rooms_invited(sender_user)
.rooms_invited_state(sender_user)
.map(|r| r.0)
.collect::<Vec<OwnedRoomId>>();
let all_knocked_rooms = services
.state_cache
.rooms_knocked(sender_user)
.rooms_knocked_state(sender_user)
.map(|r| r.0)
.collect::<Vec<OwnedRoomId>>();