diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-09-23 21:19:25 +0200 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-09-23 20:19:25 +0100 |
commit | 1ea3ed76201de678c8c19c568bb3456ae4989a97 (patch) | |
tree | 67940992d3bf5ab0a9215b8b65bb19c0f3f7ca92 | |
parent | Add m.require_identity_server to /versions unstable_flags (#5972) (diff) | |
download | synapse-1ea3ed76201de678c8c19c568bb3456ae4989a97.tar.xz |
Add m.id_access_token to /versions unstable_features (MSC2264) (#5974)
Adds a flag to /versions' unstable_features section indicating that this Synapse understands what an id_access_token is, as per MSC2264. Fixes #5927
-rw-r--r-- | changelog.d/5974.feature | 1 | ||||
-rw-r--r-- | synapse/rest/client/versions.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/changelog.d/5974.feature b/changelog.d/5974.feature new file mode 100644 index 0000000000..387a444fc4 --- /dev/null +++ b/changelog.d/5974.feature @@ -0,0 +1 @@ +Add m.id_access_token to unstable_features in /versions as per MSC2264. \ No newline at end of file diff --git a/synapse/rest/client/versions.py b/synapse/rest/client/versions.py index 3c9ec59d72..fdab0ddb42 100644 --- a/synapse/rest/client/versions.py +++ b/synapse/rest/client/versions.py @@ -50,6 +50,9 @@ class VersionsRestServlet(RestServlet): # as per MSC1497: "unstable_features": { "m.lazy_load_members": True, + # as per MSC2190, as amended by MSC2264 + # to be removed in r0.6.0 + "m.id_access_token": True, # Advertise to clients that they need not include an `id_server` # parameter during registration or password reset, as Synapse now decides # itself which identity server to use (or none at all). |