-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do requestToken before adding a 3pid (#706)
For enhanced realism (TM), hit the requestToken endpoint before attempting to add a 3pid to a user account. Currently, we can get away without hitting requestToken, since it just delegates to the IS, which we stub out. However, MSC2078 changes this so that a homeserver is free to handle requestToken itself, which makes it a required part of the flow. This PR therefore lays the groundwork for future work which will handle the homeserver implementing requestToken itself.
- Loading branch information
Showing
3 changed files
with
184 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters