mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-31 03:45:13 +00:00
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
This commit is contained in:
parent
ad5761b65c
commit
cc1071598a
2 changed files with 3 additions and 2 deletions
1
changelog.d/13240.misc
Normal file
1
changelog.d/13240.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Call the v2 identity service `/3pid/unbind` endpoint, rather than v1.
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue