mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-31 22:54:22 -04: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
|
@ -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
Add a link
Reference in a new issue