mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Add brackets
This commit is contained in:
parent
e8814410ef
commit
82e4bfb53d
@ -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 = (
|
||||||
"/config/(?P<config_key>[^/]*)$"
|
"/groups/(?P<group_id>[^/]*)/room/(?P<room_id>[^/]*)"
|
||||||
|
"/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):
|
||||||
|
Loading…
Reference in New Issue
Block a user