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

Commit

Permalink
Add m.id_access_token flag (#5930)
Browse files Browse the repository at this point in the history
Adds a flag to `/versions`' `unstable_features` section indicating that this Synapse understands what an `id_access_token` is, as per #5927 (comment)

Fixes #5927
  • Loading branch information
anoadragon453 committed Aug 30, 2019
1 parent d19505a commit 4765f0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/5930.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add temporary flag to /versions in unstable_features to indicate this Synapse supports receiving id_access_token parameters on calls to identity server-proxying endpoints.
7 changes: 6 additions & 1 deletion synapse/rest/client/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ def on_GET(self, request):
"r0.5.0",
],
# as per MSC1497:
"unstable_features": {"m.lazy_load_members": True},
"unstable_features": {
"m.lazy_load_members": True,
# as per https://github.com/matrix-org/synapse/issues/5927
# to be removed in r0.6.0
"m.id_access_token": True,
},
},
)

Expand Down

0 comments on commit 4765f0c

Please sign in to comment.