Add /_matrix/versions to report supported versions

This commit is contained in:
Daniel Wagner-Hall 2016-01-06 18:08:52 +00:00 committed by review.rocks
parent c582f178b7
commit 11a974da21
3 changed files with 43 additions and 0 deletions

View file

@ -185,6 +185,7 @@ class SynapseHomeServer(HomeServer):
"/_matrix/client/r0": client_resource,
"/_matrix/client/unstable": client_resource,
"/_matrix/client/v2_alpha": client_resource,
"/_matrix/client/versions": client_resource,
})
if name == "federation":