mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-07 02:21:52 +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
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",
|
"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 = "https://%s/_matrix/identity/v2/3pid/unbind" % (id_server,)
|
||||||
url_bytes = b"/_matrix/identity/api/v1/3pid/unbind"
|
url_bytes = b"/_matrix/identity/v2/3pid/unbind"
|
||||||
|
|
||||||
content = {
|
content = {
|
||||||
"mxid": mxid,
|
"mxid": mxid,
|
||||||
|
Loading…
Reference in New Issue
Block a user