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

Support CS API v0.6.0 #6585

Merged
merged 5 commits into from
Jun 5, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/6585.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Advertise support for Client-Server API r0.6.0 and remove related unstable feature flags.
17 changes: 2 additions & 15 deletions synapse/rest/client/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,11 @@ def on_GET(self, request):
"r0.3.0",
"r0.4.0",
"r0.5.0",
"r0.6.0",
],
# as per MSC1497:
"unstable_features": {
# 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).
#
# This is also used by a client when they wish to bind a 3PID to their
# account, but not bind it to an identity server, the endpoint for which
# also requires `id_server`. If the homeserver is handling 3PID
# verification itself, there is no need to ask the user for `id_server` to
# be supplied.
"m.require_identity_server": False,
# as per MSC2290
"m.separate_add_and_bind": True,
"m.lazy_load_members": True,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is something new? can it have a comment with an MSC link or so?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good catch. Looks like this was removed in dc3f998#diff-e591d42d30690ffb79f63bb726200891 and was accidentally kept while rebasing this branch.

# Implements support for label-based filtering as described in
# MSC2326.
"org.matrix.label_based_filtering": True,
Expand Down