mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 04:54:10 +01:00
Remove 'origin' field from transactions
This commit is contained in:
parent
3808a679c1
commit
c908e74f73
|
|
@ -0,0 +1 @@
|
|||
Remove `origin` field from transactions which was redundant and not enforced to be present by Synapse.
|
||||
|
|
@ -29,4 +29,4 @@ properties:
|
|||
properties: {}
|
||||
example:
|
||||
$ref: "../examples/minimal_pdu.json"
|
||||
required: ['origin', 'origin_server_ts', 'pdus']
|
||||
required: ['origin_server_ts', 'pdus']
|
||||
|
|
|
|||
|
|
@ -17,11 +17,6 @@ description: Transaction
|
|||
example:
|
||||
$ref: "../examples/transaction.json"
|
||||
properties:
|
||||
origin:
|
||||
type: string
|
||||
description: |-
|
||||
The `server_name` of the homeserver sending this transaction.
|
||||
example: "example.org"
|
||||
origin_server_ts:
|
||||
type: integer
|
||||
format: int64
|
||||
|
|
@ -44,4 +39,4 @@ properties:
|
|||
properties: {}
|
||||
example:
|
||||
$ref: "../examples/minimal_pdu.json"
|
||||
required: ['origin', 'origin_server_ts', 'pdus']
|
||||
required: ['origin_server_ts', 'pdus']
|
||||
|
|
|
|||
|
|
@ -30,4 +30,4 @@ properties:
|
|||
properties: {}
|
||||
example:
|
||||
$ref: "../examples/minimal_pdu.json"
|
||||
required: ['origin', 'origin_server_ts', 'pdus']
|
||||
required: ['origin_server_ts', 'pdus']
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"origin": "matrix.org",
|
||||
"origin_server_ts": 1234567890,
|
||||
"pdus": [{
|
||||
"$ref": "minimal_pdu.json"
|
||||
|
|
|
|||
Loading…
Reference in a new issue