diff options
author | reivilibre <oliverw@matrix.org> | 2023-03-23 12:11:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 12:11:14 +0000 |
commit | 98fd558382226b347d78e5f6e6782c6e74c25e69 (patch) | |
tree | ec4c7ef0999d40dd47e0c29ac645901b86efd7c5 /synapse/rest/client/keys.py | |
parent | Use immutabledict instead of frozendict (#15113) (diff) | |
download | synapse-98fd558382226b347d78e5f6e6782c6e74c25e69.tar.xz |
Add a primitive helper script for listing worker endpoints. (#15243)
Co-authored-by: Patrick Cloke <patrickc@matrix.org>
Diffstat (limited to 'synapse/rest/client/keys.py')
-rw-r--r-- | synapse/rest/client/keys.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/rest/client/keys.py b/synapse/rest/client/keys.py index 32bb8b9a91..6209b79b01 100644 --- a/synapse/rest/client/keys.py +++ b/synapse/rest/client/keys.py @@ -89,6 +89,7 @@ class KeyUploadServlet(RestServlet): """ PATTERNS = client_patterns("/keys/upload(/(?P<device_id>[^/]+))?$") + CATEGORY = "Encryption requests" def __init__(self, hs: "HomeServer"): super().__init__() @@ -182,6 +183,7 @@ class KeyQueryServlet(RestServlet): """ PATTERNS = client_patterns("/keys/query$") + CATEGORY = "Encryption requests" def __init__(self, hs: "HomeServer"): super().__init__() @@ -225,6 +227,7 @@ class KeyChangesServlet(RestServlet): """ PATTERNS = client_patterns("/keys/changes$") + CATEGORY = "Encryption requests" def __init__(self, hs: "HomeServer"): super().__init__() @@ -274,6 +277,7 @@ class OneTimeKeyServlet(RestServlet): """ PATTERNS = client_patterns("/keys/claim$") + CATEGORY = "Encryption requests" def __init__(self, hs: "HomeServer"): super().__init__() |