diff options
author | Erik Johnston <erik@matrix.org> | 2017-11-09 10:06:42 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-11-09 10:06:42 +0000 |
commit | 82e4bfb53da20402f1c62264ffb13ec2e3e85e48 (patch) | |
tree | ee3712f658974e07b8aa6dbe4263972b5f6e006f /synapse/federation/transport | |
parent | Have an explicit API to update room config (diff) | |
download | synapse-82e4bfb53da20402f1c62264ffb13ec2e3e85e48.tar.xz |
Add brackets
Diffstat (limited to 'synapse/federation/transport')
-rw-r--r-- | synapse/federation/transport/server.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index 6ef6cce592..2b02b021ec 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -706,8 +706,10 @@ class FederationGroupsAddRoomsServlet(BaseFederationServlet): class FederationGroupsAddRoomsConfigServlet(BaseFederationServlet): """Update room config in group """ - PATH = "/groups/(?P<group_id>[^/]*)/room/(?P<room_id>[^/]*)" - "/config/(?P<config_key>[^/]*)$" + PATH = ( + "/groups/(?P<group_id>[^/]*)/room/(?P<room_id>[^/]*)" + "/config/(?P<config_key>[^/]*)$" + ) @defer.inlineCallbacks def on_POST(self, origin, content, query, group_id, room_id, config_key): |