Remove the origin
field in PUT /send_join
responses (#2050)
* Remove the `origin` field on PUT /send_join responses This is a spec bug as it has actually never been sent by Synapse, going back to 2014. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add changelog Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> --------- Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
d0d71d9997
commit
a1bdfaa167
3 changed files with 1 additions and 10 deletions
|
@ -0,0 +1 @@
|
||||||
|
Remove the `origin` field in `PUT /send_join` responses, because it was never sent in the first place.
|
|
@ -339,9 +339,6 @@ paths:
|
||||||
title: Room State
|
title: Room State
|
||||||
description: The state for the room.
|
description: The state for the room.
|
||||||
properties:
|
properties:
|
||||||
origin:
|
|
||||||
type: string
|
|
||||||
description: The resident server's [server name](/appendices/#server-name).
|
|
||||||
auth_chain:
|
auth_chain:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
|
@ -371,13 +368,11 @@ paths:
|
||||||
required:
|
required:
|
||||||
- auth_chain
|
- auth_chain
|
||||||
- state
|
- state
|
||||||
- origin
|
|
||||||
examples:
|
examples:
|
||||||
response:
|
response:
|
||||||
value: [
|
value: [
|
||||||
200,
|
200,
|
||||||
{
|
{
|
||||||
"origin": "matrix.org",
|
|
||||||
"auth_chain": [
|
"auth_chain": [
|
||||||
{
|
{
|
||||||
"$ref": "examples/minimal_pdu.json"
|
"$ref": "examples/minimal_pdu.json"
|
||||||
|
|
|
@ -160,9 +160,6 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
origin:
|
|
||||||
type: string
|
|
||||||
description: The resident server's [server name](/appendices/#server-name).
|
|
||||||
members_omitted:
|
members_omitted:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: "`true` if `m.room.member` events have been omitted from `state`."
|
description: "`true` if `m.room.member` events have been omitted from `state`."
|
||||||
|
@ -222,11 +219,9 @@ paths:
|
||||||
required:
|
required:
|
||||||
- auth_chain
|
- auth_chain
|
||||||
- state
|
- state
|
||||||
- origin
|
|
||||||
examples:
|
examples:
|
||||||
response:
|
response:
|
||||||
value: {
|
value: {
|
||||||
"origin": "matrix.org",
|
|
||||||
"auth_chain": [
|
"auth_chain": [
|
||||||
{
|
{
|
||||||
"$ref": "examples/minimal_pdu.json"
|
"$ref": "examples/minimal_pdu.json"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue