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/profile.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/profile.py')
-rw-r--r-- | synapse/rest/client/profile.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/rest/client/profile.py b/synapse/rest/client/profile.py index e69fa0829d..493e1acea0 100644 --- a/synapse/rest/client/profile.py +++ b/synapse/rest/client/profile.py @@ -29,6 +29,7 @@ if TYPE_CHECKING: class ProfileDisplaynameRestServlet(RestServlet): PATTERNS = client_patterns("/profile/(?P<user_id>[^/]*)/displayname", v1=True) + CATEGORY = "Event sending requests" def __init__(self, hs: "HomeServer"): super().__init__() @@ -86,6 +87,7 @@ class ProfileDisplaynameRestServlet(RestServlet): class ProfileAvatarURLRestServlet(RestServlet): PATTERNS = client_patterns("/profile/(?P<user_id>[^/]*)/avatar_url", v1=True) + CATEGORY = "Event sending requests" def __init__(self, hs: "HomeServer"): super().__init__() @@ -142,6 +144,7 @@ class ProfileAvatarURLRestServlet(RestServlet): class ProfileRestServlet(RestServlet): PATTERNS = client_patterns("/profile/(?P<user_id>[^/]*)", v1=True) + CATEGORY = "Event sending requests" def __init__(self, hs: "HomeServer"): super().__init__() |