Merge pull request #5065 from matrix-org/erikj/fix_versions

VersionRestServlet doesn't take a param
This commit is contained in:
Erik Johnston 2019-04-16 17:52:36 +01:00 committed by GitHub
commit a1eb4c6d2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/5065.feature Normal file
View file

@ -0,0 +1 @@
Add support for handling /verions, /voip and /push_rules client endpoints to client_reader worker.

View file

@ -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,