synapse/tests/rest/client/sliding_sync
Erik Johnston f6c2b0ec2e
Sliding sync: don't fetch room summary for named rooms. (#17683)
For rooms with a name we can skip fetching a full room summary, as we
don't need to calculate heroes, and instead just fetch the room counts
directly.

This also changes things to not return counts and heroes for non-joined
rooms. For left/banned rooms we were returning zero values anyway, and
for invite/knock rooms we don't really want to leak such information
(even if some of is included in the stripped state).
2024-09-11 13:16:57 +01:00
..
__init__.py Sliding Sync: Split and move tests (#17504) 2024-07-31 12:20:46 -05:00
test_connection_tracking.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extension_account_data.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extension_e2ee.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extension_receipts.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extension_to_device.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extension_typing.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extensions.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_room_subscriptions.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_rooms_invites.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_rooms_meta.py Sliding sync: don't fetch room summary for named rooms. (#17683) 2024-09-11 13:16:57 +01:00
test_rooms_required_state.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_rooms_timeline.py Sliding Sync: Retrieve fewer events from DB in sync (#17688) 2024-09-10 09:52:42 +01:00
test_sliding_sync.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00