synapse/tests
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
..
api
app
appservice
config
crypto
events
federation
handlers Fix MSC4222 returning full state (#17915) 2024-11-08 16:41:24 +00:00
http Fix cancellation tests with new Twisted. (#17906) 2024-11-07 15:26:14 +00:00
logging
media
metrics
module_api
push
replication
rest
scripts
server_notices
state
storage
test_utils
types
util Fix Twisted tests with latest release (#17911) 2024-11-07 16:22:09 +00:00
__init__.py
server.py Fix other unit tests with latest twisted (#17907) 2024-11-07 10:11:13 +00:00
test_distributor.py
test_event_auth.py
test_federation.py
test_mau.py
test_phone_home.py
test_rust.py
test_server.py
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py
unittest.py
utils.py