summary refs log tree commit diff
path: root/tests/test_terms_auth.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-08-18 15:32:06 +0100
committerGitHub <noreply@github.com>2023-08-18 15:32:06 +0100
commitbd558a6dc369b6f5d06ab6fd2500faa216a45883 (patch)
tree8cd5827573d1537d23b62ed152d52b2840d6e854 /tests/test_terms_auth.py
parentMSC3861: allow impersonation by an admin using a query param (#16132) (diff)
downloadsynapse-bd558a6dc369b6f5d06ab6fd2500faa216a45883.tar.xz
Speed up state res in rare case we don't have all events (#16116)
If we don't have all the auth events in a room then not all state events will have a chain cover index. Even so, we can still use the chain cover index on the events that do have it, rather than bailing and using the slower functions.

This situation should not arise for newly persisted rooms, as we check we have the full auth chain for each event, but can happen for existing rooms.

c.f. #15245
Diffstat (limited to 'tests/test_terms_auth.py')
0 files changed, 0 insertions, 0 deletions