Remove signed object which shouldn't exist

pull/977/head
Daniel Wagner-Hall 9 years ago
parent cc1c8f33b2
commit 016ccf4544

@ -51,14 +51,12 @@ paths:
example: |- example: |-
{ {
"third_party_signed": { "third_party_signed": {
"signed": { "sender": "@cat:the.hat",
"sender": "@cat:the.hat", "mxid": "@green:eggs.ham",
"mxid": "@green:eggs.ham", "token": "random8nonce",
"token": "random8nonce", "signatures": {
"signatures": { "horton.hears": {
"horton.hears": { "ed25519:0": "some9signature"
"ed25519:0": "some9signature"
}
} }
} }
} }
@ -69,25 +67,20 @@ paths:
title: ThirdPartySigned title: ThirdPartySigned
description: A signature of an ``m.third_party_invite`` token to prove that this user owns a third party identity which has been invited to the room. description: A signature of an ``m.third_party_invite`` token to prove that this user owns a third party identity which has been invited to the room.
properties: properties:
signed: sender:
type: string
description: The Matrix ID of the user who issued the invite.
mxid:
type: string
description: The Matrix ID of the invitee.
token:
type: string
description: The state key of the m.third_party_invite event.
signatures:
type: object type: object
title: Signed description: A signatures object containing a signature of the entire signed object.
properties: title: Signatures
sender: required: ["sender", "mxid", "token", "signatures"]
type: string
description: The Matrix ID of the user who issued the invite.
mxid:
type: string
description: The Matrix ID of the invitee.
token:
type: string
description: The state key of the m.third_party_invite event.
signatures:
type: object
description: A signatures object containing a signature of the entire signed object.
title: Signatures
required: ["sender", "mxid", "token", "signatures"]
required: ["signed"]
responses: responses:
200: 200:
description: |- description: |-

Loading…
Cancel
Save