MSC4213: Remove server_name parameter (#2059)
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
cabe846d23
commit
23e709ae9b
4 changed files with 3 additions and 52 deletions
|
@ -137,31 +137,6 @@ paths:
|
|||
example: "#monkeys:matrix.org"
|
||||
schema:
|
||||
type: string
|
||||
- in: query
|
||||
name: server_name
|
||||
deprecated: true
|
||||
x-changedInMatrixVersion:
|
||||
"1.12": |-
|
||||
This parameter has been deprecated in favour of `via` and will be removed in
|
||||
a future version of the spec.
|
||||
|
||||
Clients SHOULD use `via` when the homeserver they're talking to supports it.
|
||||
To do this, they MAY either detect server support through the supported spec
|
||||
versions in [`/_matrix/client/versions`](/client-server-api/#get_matrixclientversions)
|
||||
or always include both parameters with identical values.
|
||||
|
||||
Homeservers MUST ignore all `server_name` parameters if any `via` parameters
|
||||
are supplied.
|
||||
description: |-
|
||||
The servers to attempt to join the room through. One of the servers
|
||||
must be participating in the room.
|
||||
example:
|
||||
- matrix.org
|
||||
- elsewhere.ca
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
- in: query
|
||||
name: via
|
||||
x-addedInMatrixVersion: "1.12"
|
||||
|
|
|
@ -48,31 +48,6 @@ paths:
|
|||
example: "#monkeys:matrix.org"
|
||||
schema:
|
||||
type: string
|
||||
- in: query
|
||||
name: server_name
|
||||
deprecated: true
|
||||
x-changedInMatrixVersion:
|
||||
"1.12": |-
|
||||
This parameter has been deprecated in favour of `via` and will be removed in
|
||||
a future version of the spec.
|
||||
|
||||
Clients SHOULD use `via` when the homeserver they're talking to supports it.
|
||||
To do this, they MAY either detect server support through the supported spec
|
||||
versions in [`/_matrix/client/versions`](/client-server-api/#get_matrixclientversions)
|
||||
or always include both parameters with identical values.
|
||||
|
||||
Homeservers MUST ignore all `server_name` parameters if any `via` parameters
|
||||
are supplied.
|
||||
description: |-
|
||||
The servers to attempt to knock on the room through. One of the servers
|
||||
must be participating in the room.
|
||||
example:
|
||||
- matrix.org
|
||||
- elsewhere.ca
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
- in: query
|
||||
name: via
|
||||
x-addedInMatrixVersion: "1.12"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue