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>
This commit is contained in:
Kévin Commaille 2025-01-12 23:00:30 +01:00
parent 6f1e64cb12
commit e4101e0b49
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D
2 changed files with 0 additions and 10 deletions

View file

@ -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"

View file

@ -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"