Merge pull request #1448 from turt2live/travis/s2s/pdu-event-id

Add the event_id to unsigned PDUs
This commit is contained in:
Richard van der Hoff 2018-07-25 11:54:09 +01:00 committed by GitHub
commit 17811bca27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,10 @@ description: An unsigned persistent data unit (event)
example:
$ref: "../examples/unsigned_pdu.json"
properties:
event_id:
type: string
description: The event ID for the PDU.
example: "$a4ecee13e2accdadf56c1025:example.com"
room_id:
type: string
description: Room identifier.
@ -107,6 +111,7 @@ properties:
description: Additional data added by the origin server but not covered by the ``signatures``.
example: {"key": "value"}
required:
- event_id
- room_id
- sender
- origin