Remove origin from unsigned_pdu_base.yaml (#998)

It doesn't serve a useful purpose, is not enforced to be present by Synapse
and already being omitted by at least one homeserver implementation.
pull/1028/head
Jonas Platte 4 years ago committed by GitHub
parent d38663f65d
commit ac9bee3f88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Remove `origin` field from PDUs which exists on many but not all PDUs in practice and doesn't serve an actual purpose.

@ -25,10 +25,6 @@ properties:
type: string type: string
description: The ID of the user sending the event. description: The ID of the user sending the event.
example: "@someone:matrix.org" example: "@someone:matrix.org"
origin:
type: string
description: The `server_name` of the homeserver that created this event.
example: "matrix.org"
origin_server_ts: origin_server_ts:
type: integer type: integer
format: int64 format: int64
@ -128,7 +124,6 @@ required:
- event_id - event_id
- room_id - room_id
- sender - sender
- origin
- origin_server_ts - origin_server_ts
- type - type
- content - content

Loading…
Cancel
Save