summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-04-16 17:52:36 +0100
committerGitHub <noreply@github.com>2019-04-16 17:52:36 +0100
commita1eb4c6d2fc1571848840078a928a11e6edd4087 (patch)
treed159698e7fd948ff1328446a51af3f590005544d /synapse
parentUse packages.matrix.org for packages (#5067) (diff)
parentNewsfile (diff)
downloadsynapse-a1eb4c6d2fc1571848840078a928a11e6edd4087.tar.xz
Merge pull request #5065 from matrix-org/erikj/fix_versions
VersionRestServlet doesn't take a param
Diffstat (limited to 'synapse')
-rw-r--r--synapse/app/client_reader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/client_reader.py b/synapse/app/client_reader.py
index 1e9e686107..864f1eac48 100644
--- a/synapse/app/client_reader.py
+++ b/synapse/app/client_reader.py
@@ -114,7 +114,7 @@ class ClientReaderServer(HomeServer):
                     KeyChangesServlet(self).register(resource)
                     VoipRestServlet(self).register(resource)
                     PushRuleRestServlet(self).register(resource)
-                    VersionsRestServlet(self).register(resource)
+                    VersionsRestServlet().register(resource)
 
                     resources.update({
                         "/_matrix/client": resource,