Files
synapse/rust
Erik JohnstonandClaude Opus 5.5 2a0d452c10 Compute and encode sliding sync room entries in Rust
SlidingSyncHandler.generate_room_entries runs get_room_sync_data for a
batch of rooms, twenty at a time, and returns each room's entry with the
two changes it makes to the connection state. encode_rooms is the
servlet's encode_rooms for those entries.

A room's state loads reuse the events its timeline loaded, as Python's
held-event map does, so state events carry the same prev_content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L51DoxB8VnH8UjXJFDgpNG
2026-10-16 14:35:14 +00:00
..