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

Commit

Permalink
Add an unstable feature flag for separate add/bind 3pid APIs (#6044)
Browse files Browse the repository at this point in the history
Add a m.separate_add_and_bind flag set to True. See MSC2290's Backward Compatibility section for details.
  • Loading branch information
anoadragon453 authored and richvdh committed Sep 23, 2019
1 parent 78e8ec3 commit 2b071a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/6044.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add an unstable feature flag for separate add/bind 3pid APIs.
2 changes: 2 additions & 0 deletions synapse/rest/client/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def on_GET(self, request):
# 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,
},
},
)
Expand Down

0 comments on commit 2b071a2

Please sign in to comment.