summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-23 15:14:56 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-23 15:14:56 +0000
commit22399d3d8f5931c4302a9df37ebde94f5d1fc277 (patch)
tree999eaa61074a35b8410d623055e55420a85f6a4e /synapse/app
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-22399d3d8f5931c4302a9df37ebde94f5d1fc277.tar.xz
Add RegisterFallbackResource to /_matrix/static/client/register
Try to keep both forms of registration logic (native/fallback) close
together for sanity.
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index ea20de1434..137293bd69 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -125,6 +125,8 @@ class SynapseHomeServer(HomeServer):
             (MEDIA_PREFIX, self.get_resource_for_media_repository()),
             (APP_SERVICE_PREFIX, self.get_resource_for_app_services()),
         ]
+        desired_tree += self.get_resource_for_client().get_extra_resources(self)
+
         if web_client:
             logger.info("Adding the web client.")
             desired_tree.append((WEB_CLIENT_PREFIX,