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
description: The state for the room.
properties:
origin:
type: string
description: The resident server's [server name](/appendices/#server-name).
auth_chain:
type: array
description: |-
@ -371,13 +368,11 @@ paths:
required:
- auth_chain
- state
- origin
examples:
response:
value: [
200,
{
"origin": "matrix.org",
"auth_chain": [
{
"$ref": "examples/minimal_pdu.json"

View file

@ -160,9 +160,6 @@ paths:
schema:
type: object
properties:
origin:
type: string
description: The resident server's [server name](/appendices/#server-name).
members_omitted:
type: boolean
description: "`true` if `m.room.member` events have been omitted from `state`."
@ -222,11 +219,9 @@ paths:
required:
- auth_chain
- state
- origin
examples:
response:
value: {
"origin": "matrix.org",
"auth_chain": [
{
"$ref": "examples/minimal_pdu.json"