Fixes for sliding-sync request replays.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-10-21 05:25:27 +00:00
parent aa4486dfdf
commit d2aab468cf
4 changed files with 87 additions and 61 deletions

View File

@@ -49,7 +49,7 @@ pub(super) async fn handle(
) -> Result<Option<response::Room>> {
debug_assert!(DEFAULT_BUMP_TYPES.is_sorted(), "DEFAULT_BUMP_TYPES is not sorted");
let &Room { roomsince } = conn
let &Room { roomsince, .. } = conn
.rooms
.get(room_id)
.ok_or_else(|| err!("Missing connection state for {room_id}"))?;