Update JSON body for 3PID onbind requests

pull/977/head
Brendan Abolivier 8 years ago
parent 57609d3cdc
commit 997e76fcf7
No known key found for this signature in database
GPG Key ID: 8EF1500759F70623

@ -239,19 +239,27 @@ At a later point, if the owner of that particular 3pid binds it with a Matrix us
Content-Type: application/json Content-Type: application/json
{ {
"invites": [{ "medium": "email",
"mxid": "@foo:bar.com", "address": "foo@bar.baz",
"token": "abc123", "mxid": "@alice:example.tld",
"invites": [
{
"medium": "email",
"address": "foo@bar.baz",
"mxid": "@alice:example.tld",
"room_id": "!something:example.tld",
"sender": "@bob:example.tld",
"signed": {
"mxid": "@alice:example.tld",
"signatures": { "signatures": {
"my.id.server": { "vector.im": {
"ed25519:0": "def987" "ed25519:0": "somesignature"
} }
},
"token": "sometoken"
} }
}], }
]
"medium": "email",
"address": "foo@bar.com",
"mxid": "@foo:bar.com"
} }
Where the signature is produced using a long-term private key. Where the signature is produced using a long-term private key.

Loading…
Cancel
Save