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

Commit 4087bf2

Browse files
committed
Add m.require_identity_server to /versions unstable_flags (#5972)
2 parents 50f6a18 + b38aa82 commit 4087bf2

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

changelog.d/5972.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add m.require_identity_server flag to /version's unstable_features.

synapse/rest/client/versions.py

+13-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,19 @@ def on_GET(self, request):
4848
"r0.5.0",
4949
],
5050
# as per MSC1497:
51-
"unstable_features": {"m.lazy_load_members": True},
51+
"unstable_features": {
52+
"m.lazy_load_members": True,
53+
# Advertise to clients that they need not include an `id_server`
54+
# parameter during registration or password reset, as Synapse now decides
55+
# itself which identity server to use (or none at all).
56+
#
57+
# This is also used by a client when they wish to bind a 3PID to their
58+
# account, but not bind it to an identity server, the endpoint for which
59+
# also requires `id_server`. If the homeserver is handling 3PID
60+
# verification itself, there is no need to ask the user for `id_server` to
61+
# be supplied.
62+
"m.require_identity_server": False,
63+
},
5264
},
5365
)
5466

0 commit comments

Comments
 (0)