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

Use separate 3PID add and bind flow for supporting HSes #3462

Merged
merged 4 commits into from
Sep 20, 2019
Merged

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Sep 20, 2019

This changes the paths used for binding 3PIDs for discovery to use the new
separate bind / unbind APIs on supporting servers.

The 3PID API flow diagrams may be helpful in following how all this fits together.

Fixes element-hq/element-web#10839
Depends on matrix-org/matrix-js-sdk#1038

This changes to checking for HS support of separate add and bind when guarding
the 3PID account section.

For older HSes, we in fact always require an IS for add with bind param, so the
previous version of this was incorrect.

Part of element-hq/element-web#10839
This changes the paths used for binding emails for discovery to use the new
separate bind / unbind APIs on supporting servers.

Part of element-hq/element-web#10839
This changes the paths used for binding MSISDNs for discovery to use the new
separate bind / unbind APIs on supporting servers.

Fixes element-hq/element-web#10839
@jryans jryans requested a review from a team September 20, 2019 12:01
@dbkr dbkr requested review from dbkr and removed request for a team September 20, 2019 12:40
@jryans jryans merged commit 351a3eb into develop Sep 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the new backend APIs for adding-3pid-to-homeserver and binding-3pid-on-identity-server when they exist.
2 participants