mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-04 13:28:04 +00:00
`max_event_pos` now takes `get_max_pos_of_last_change` for the rooms the events stream cache knows, as `_bulk_get_max_event_pos` does. The port keeps Python's quirk: the cache answers only when it knows every missing room, because Python's batch loop goes over all of them. The membership change tests now add delta rows without an event, as the server leaving a room or a state reset write them. The branches that handle those rows were not reached before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L51DoxB8VnH8UjXJFDgpNG