mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-04 17:47:28 +00:00
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