diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2023-03-02 18:59:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 12:59:53 -0500 |
commit | ecbe0ddbe7c47e05bc27b39dc10a9c30eafd2960 (patch) | |
tree | 9d65fbad2d0972274641b1c3d828c59c003ef95b /synapse/rest/client/room.py | |
parent | Remove the unspecced and bugged PUT /knock/{roomIdOrAlias} endpoint (#15189) (diff) | |
download | synapse-ecbe0ddbe7c47e05bc27b39dc10a9c30eafd2960.tar.xz |
Add support for knocking to workers. (#15133)
Diffstat (limited to 'synapse/rest/client/room.py')
-rw-r--r-- | synapse/rest/client/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/room.py b/synapse/rest/client/room.py index 14b04810a1..45aee3d3fe 100644 --- a/synapse/rest/client/room.py +++ b/synapse/rest/client/room.py @@ -926,7 +926,7 @@ class RoomMembershipRestServlet(TransactionRestServlet): self.auth = hs.get_auth() def register(self, http_server: HttpServer) -> None: - # /rooms/$roomid/[invite|join|leave] + # /rooms/$roomid/[join|invite|leave|ban|unban|kick] PATTERNS = ( "/rooms/(?P<room_id>[^/]*)/" "(?P<membership_action>join|invite|leave|ban|unban|kick)" |