diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2022-01-18 16:46:39 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2022-01-18 16:46:39 +0000 |
commit | 9eab71aa935a2d5c493c974e2f13d10d3cb4c09a (patch) | |
tree | da0f514c8e8b7d8d88f9ba69d65cc78f73ecd8da /synapse | |
parent | Include whether the requesting user has participated in a thread. (#11577) (diff) | |
parent | Wording fixes to 1.50.0/1 changelog entries (diff) | |
download | synapse-9eab71aa935a2d5c493c974e2f13d10d3cb4c09a.tar.xz |
Merge branch 'master' into develop
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/__init__.py | 2 | ||||
-rw-r--r-- | synapse/app/homeserver.py | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/synapse/__init__.py b/synapse/__init__.py index 201925e91d..5ec9f94174 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -47,7 +47,7 @@ try: except ImportError: pass -__version__ = "1.50.0" +__version__ = "1.50.1" if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)): # We import here so that we don't have to install a bunch of deps when diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 177ce040e8..dd76e07321 100644 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -27,7 +27,6 @@ import synapse import synapse.config.logger from synapse import events from synapse.api.urls import ( - CLIENT_API_PREFIX, FEDERATION_PREFIX, LEGACY_MEDIA_PREFIX, MEDIA_R0_PREFIX, @@ -193,7 +192,13 @@ class SynapseHomeServer(HomeServer): resources.update( { - CLIENT_API_PREFIX: client_resource, + "/_matrix/client/api/v1": client_resource, + "/_matrix/client/r0": client_resource, + "/_matrix/client/v1": client_resource, + "/_matrix/client/v3": client_resource, + "/_matrix/client/unstable": client_resource, + "/_matrix/client/v2_alpha": client_resource, + "/_matrix/client/versions": client_resource, "/.well-known": well_known_resource(self), "/_synapse/admin": AdminRestResource(self), **build_synapse_client_resource_tree(self), |