mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-02 23:56:03 -04:00
Add an admin API to manage ratelimit for a specific user (#9648)
This commit is contained in:
parent
a7044e5c0f
commit
1fc97ee876
6 changed files with 573 additions and 6 deletions
|
@ -54,6 +54,7 @@ from synapse.rest.admin.users import (
|
|||
AccountValidityRenewServlet,
|
||||
DeactivateAccountRestServlet,
|
||||
PushersRestServlet,
|
||||
RateLimitRestServlet,
|
||||
ResetPasswordRestServlet,
|
||||
SearchUsersRestServlet,
|
||||
ShadowBanRestServlet,
|
||||
|
@ -239,6 +240,7 @@ def register_servlets(hs, http_server):
|
|||
ShadowBanRestServlet(hs).register(http_server)
|
||||
ForwardExtremitiesRestServlet(hs).register(http_server)
|
||||
RoomEventContextServlet(hs).register(http_server)
|
||||
RateLimitRestServlet(hs).register(http_server)
|
||||
|
||||
|
||||
def register_servlets_for_client_rest_resource(hs, http_server):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue