Fix up directory server to not require uploading room hosts. Update the room hosts table with the current room hosts (if we have them) on GET.

This commit is contained in:
Erik Johnston 2014-09-03 16:04:21 +01:00
parent 5f7cdbe0b8
commit 30bcbc433a
3 changed files with 16 additions and 2 deletions

View file

@ -54,7 +54,7 @@ class ClientDirectoryServer(RestServlet):
logger.debug("Got room name: %s", room_alias.to_string())
room_id = content["room_id"]
servers = content["servers"]
servers = content["servers"] if "servers" in content else None
logger.debug("Got room_id: %s", room_id)
logger.debug("Got servers: %s", servers)