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

Loading…
Cancel
Save