0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-12 21:12:29 +01:00
synapse/tests/rest/client
Patrick Cloke 80e0e1f35e
Only fetch thread participation for events with threads. (#12228)
We fetch the thread summary in two phases:

1. The summary that is shared by all users (count of messages and latest event).
2. Whether the requesting user has participated in the thread.

There's no use in attempting step 2 for events which did not return a summary
from step 1.
2022-03-18 17:15:45 +00:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_account.py Add type hints to tests/rest/client (#12108) 2022-03-02 16:34:14 +00:00
test_auth.py Add type hints to tests/rest/client (#12066) 2022-02-23 08:33:19 -05:00
test_capabilities.py Add type hints to tests/rest/client (#12066) 2022-02-23 08:33:19 -05:00
test_consent.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_device_lists.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_directory.py Test room alias deletion (#11327) 2021-11-12 19:56:00 +00:00
test_ephemeral_message.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_events.py Add type hints to tests/rest/client (#12094) 2022-02-28 18:59:00 +00:00
test_filter.py Add type hints to tests/rest/client (#12108) 2022-03-02 16:34:14 +00:00
test_groups.py Add type hints to tests/rest/client (#12094) 2022-02-28 18:59:00 +00:00
test_identity.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_keys.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_login.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_password_policy.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_power_levels.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_presence.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_profile.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_push_rule_attrs.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_redactions.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_register.py Add type hints to tests/rest/client (#12094) 2022-02-28 18:59:00 +00:00
test_relations.py Only fetch thread participation for events with threads. (#12228) 2022-03-18 17:15:45 +00:00
test_report_event.py Add type hints to tests/rest/client (#12108) 2022-03-02 16:34:14 +00:00
test_retention.py Retention test: avoid relying on state at purged events (#12202) 2022-03-11 10:33:49 +00:00
test_room_batch.py Add type hints to tests/rest/client (#12072) 2022-02-24 13:56:38 -05:00
test_rooms.py Support stable identifiers for MSC3440: Threading (#12151) 2022-03-10 15:36:13 +00:00
test_sendtodevice.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_shadow_banned.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_shared_rooms.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
test_sync.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_third_party_rules.py Add third_party module callbacks to check if a user can delete a room and deactivate a user (#12028) 2022-03-09 18:23:57 +00:00
test_transactions.py Add type hints to tests/rest. (#12208) 2022-03-11 12:42:22 +00:00
test_typing.py Remove unused mocks from test_typing (#12136) 2022-03-02 17:24:52 +00:00
test_upgrade_room.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00
utils.py Add type hints to tests/rest/client (#12084) 2022-02-28 17:47:37 +00:00