diff options
author | Jacek KuĊnierz <kusnierz@protonmail.com> | 2022-07-13 20:43:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 19:43:17 +0100 |
commit | cc1071598ad45e682a14dc8b3c1fe553e8158593 (patch) | |
tree | eabf8016579f8b428c1824a10a712d3209c12658 /synapse | |
parent | Add support for room version 10 (#13220) (diff) | |
download | synapse-cc1071598ad45e682a14dc8b3c1fe553e8158593.tar.xz |
Call the v2 identity service `/3pid/unbind` endpoint, rather than v1. (#13240)
* Drop support for v1 unbind Signed-off-by: Jacek Kusnierz <jacek.kusnierz@tum.de> * Add changelog Signed-off-by: Jacek Kusnierz <jacek.kusnierz@tum.de> * Update changelog.d/13240.misc
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/identity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py index 164d891e90..9571d461c8 100644 --- a/synapse/handlers/identity.py +++ b/synapse/handlers/identity.py @@ -281,8 +281,8 @@ class IdentityHandler: "id_server must be a valid hostname with optional port and path components", ) - url = "https://%s/_matrix/identity/api/v1/3pid/unbind" % (id_server,) - url_bytes = b"/_matrix/identity/api/v1/3pid/unbind" + url = "https://%s/_matrix/identity/v2/3pid/unbind" % (id_server,) + url_bytes = b"/_matrix/identity/v2/3pid/unbind" content = { "mxid": mxid, |