synapse/synapse/types
Erik Johnston cacd4fd7bd
Fix MSC4222 returning full state (#17915)
There was a bug that meant we would return the full state of the room on
incremental syncs when using lazy loaded members and there were no
entries in the timeline.

This was due to trying to use `state_filter or state_filter.all()` as a
short hand for handling `None` case, however `state_filter` implements
`__bool__` so if the state filter was empty it would be set to full.

c.f. MSC4222 and #17888
2024-11-08 16:41:24 +00:00
..
handlers Sliding sync: omit bump stamp when it is unchanged (#17788) 2024-10-08 11:17:23 +01:00
rest import pydantic objects from the _pydantic_compat module (#17667) 2024-09-11 21:01:43 +00:00
storage Sliding Sync: Reset forgotten status when membership changes (like rejoining a room) (#17835) 2024-10-22 11:06:46 +01:00
__init__.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
state.py Fix MSC4222 returning full state (#17915) 2024-11-08 16:41:24 +00:00