Add an unstable feature flag for separate add/bind 3pid APIs (#6044)

Add a m.separate_add_and_bind flag set to True. See MSC2290's Backward Compatibility section for details.
This commit is contained in:
Andrew Morgan 2019-09-23 21:46:34 +02:00 committed by Richard van der Hoff
parent 78e8ec368e
commit 2b071a2ff1
2 changed files with 3 additions and 0 deletions

1
changelog.d/6044.feature Normal file
View File

@ -0,0 +1 @@
Add an unstable feature flag for separate add/bind 3pid APIs.

View File

@ -63,6 +63,8 @@ class VersionsRestServlet(RestServlet):
# 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,
},
},
)