Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 1ea3ed7

Browse files
anoadragon453richvdh
authored andcommitted
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
1 parent b38aa82 commit 1ea3ed7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

changelog.d/5974.feature

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add m.id_access_token to unstable_features in /versions as per MSC2264.

synapse/rest/client/versions.py

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ def on_GET(self, request):
5050
# as per MSC1497:
5151
"unstable_features": {
5252
"m.lazy_load_members": True,
53+
# as per MSC2190, as amended by MSC2264
54+
# to be removed in r0.6.0
55+
"m.id_access_token": True,
5356
# Advertise to clients that they need not include an `id_server`
5457
# parameter during registration or password reset, as Synapse now decides
5558
# itself which identity server to use (or none at all).

0 commit comments

Comments
 (0)