0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-02 10:48:56 +02:00

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
This commit is contained in:
Andrew Morgan 2019-09-23 21:19:25 +02:00 committed by Richard van der Hoff
parent b38aa82b83
commit 1ea3ed7620
2 changed files with 4 additions and 0 deletions

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

@ -0,0 +1 @@
Add m.id_access_token to unstable_features in /versions as per MSC2264.

View file

@ -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).