A sender is also required for the invite_state

pull/977/head
Travis Ralston 6 years ago
parent 2f824df8dd
commit e3ad253dca

@ -206,7 +206,9 @@ paths:
events: events:
description: The StrippedState events that form the invite state. description: The StrippedState events that form the invite state.
items: items:
description: 'A stripped down state event, with only the ``type``, ``state_key`` and ``content`` keys.' description: |-
A stripped down state event, with only the ``type``, ``state_key``,
``sender``, and ``content`` keys.
properties: properties:
content: content:
description: The ``content`` for the event. description: The ``content`` for the event.
@ -218,10 +220,14 @@ paths:
type: type:
description: The ``type`` for the event. description: The ``type`` for the event.
type: string type: string
sender:
description: The ``sender`` for the event.
type: string
required: required:
- type - type
- state_key - state_key
- content - content
- sender
title: StrippedState title: StrippedState
type: object type: object
type: array type: array

Loading…
Cancel
Save