0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 19:33:52 +01:00

Add brackets

This commit is contained in:
Erik Johnston 2017-11-09 10:06:42 +00:00
parent e8814410ef
commit 82e4bfb53d

View file

@ -706,8 +706,10 @@ class FederationGroupsAddRoomsServlet(BaseFederationServlet):
class FederationGroupsAddRoomsConfigServlet(BaseFederationServlet): class FederationGroupsAddRoomsConfigServlet(BaseFederationServlet):
"""Update room config in group """Update room config in group
""" """
PATH = "/groups/(?P<group_id>[^/]*)/room/(?P<room_id>[^/]*)" PATH = (
"/groups/(?P<group_id>[^/]*)/room/(?P<room_id>[^/]*)"
"/config/(?P<config_key>[^/]*)$" "/config/(?P<config_key>[^/]*)$"
)
@defer.inlineCallbacks @defer.inlineCallbacks
def on_POST(self, origin, content, query, group_id, room_id, config_key): def on_POST(self, origin, content, query, group_id, room_id, config_key):