This commit is contained in:
Brendan Abolivier 2019-07-10 15:56:21 +01:00
parent 351d9bd317
commit b2a2e96ea6
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD

View file

@ -118,7 +118,7 @@ class IdentityHandler(BaseHandler):
raise SynapseError(400, "No client_secret in creds")
try:
data = yield self.http_client.post_post_get_json(
data = yield self.http_client.post_json_get_json(
"https://%s%s" % (id_server, "/_matrix/identity/api/v1/3pid/bind"),
{"sid": creds["sid"], "client_secret": client_secret, "mxid": mxid},
)