mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 23:33:54 -05:00
Merge branch 'develop' into application-services
This commit is contained in:
commit
9978c5c103
26 changed files with 240 additions and 115 deletions
|
|
@ -46,7 +46,7 @@ class ClientDirectoryServer(ClientV1RestServlet):
|
|||
@defer.inlineCallbacks
|
||||
def on_PUT(self, request, room_alias):
|
||||
content = _parse_json(request)
|
||||
if not "room_id" in content:
|
||||
if "room_id" not in content:
|
||||
raise SynapseError(400, "Missing room_id key",
|
||||
errcode=Codes.BAD_JSON)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue