mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-28 13:24:10 +02:00
Compare commits
6 commits
c2dabc51c3
...
b1e756e921
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1e756e921 | ||
|
|
58744f4734 | ||
|
|
dfdb1d09b8 | ||
|
|
f82d8ab15b | ||
|
|
3c17aa3789 | ||
|
|
506bc1a164 |
|
|
@ -0,0 +1,2 @@
|
||||||
|
Clarify that the stripped state in `invite_state` and `knock_state` in `GET /sync` response must
|
||||||
|
include the full `m.room.member` event of the user.
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Fix various typos throughout the specification.
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Additional OpenGraph properties can be present in URL previews.
|
||||||
1
changelogs/internal/newsfragments/2219.clarification
Normal file
1
changelogs/internal/newsfragments/2219.clarification
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Swapped icon for X (fka. twitter) to updated logo in footer.
|
||||||
|
|
@ -110,7 +110,7 @@ sidebar_menu_compact = true
|
||||||
[[params.links.bottom]]
|
[[params.links.bottom]]
|
||||||
name = "Twitter"
|
name = "Twitter"
|
||||||
url = "https://twitter.com/matrixdotorg"
|
url = "https://twitter.com/matrixdotorg"
|
||||||
icon = "fab fa-twitter"
|
icon = "fab fa-x-twitter"
|
||||||
desc = "Matrix on Twitter"
|
desc = "Matrix on Twitter"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -379,7 +379,8 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
The OpenGraph data for the URL, which may be empty. Some values are
|
The OpenGraph data for the URL, which may be empty. Some values are
|
||||||
replaced with matrix equivalents if they are provided in the response.
|
replaced with matrix equivalents if they are provided in the response.
|
||||||
The differences from the OpenGraph protocol are described here.
|
The differences from the [OpenGraph protocol](https://ogp.me/) are
|
||||||
|
described here.
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -394,6 +395,9 @@ paths:
|
||||||
format: uri
|
format: uri
|
||||||
description: An [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to
|
description: An [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to
|
||||||
the image. Omitted if there is no image.
|
the image. Omitted if there is no image.
|
||||||
|
additionalProperties:
|
||||||
|
description: |-
|
||||||
|
Additional properties as per the [OpenGraph](https://ogp.me/) protocol.
|
||||||
examples:
|
examples:
|
||||||
response:
|
response:
|
||||||
value: {
|
value: {
|
||||||
|
|
|
||||||
|
|
@ -605,7 +605,8 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
The OpenGraph data for the URL, which may be empty. Some values are
|
The OpenGraph data for the URL, which may be empty. Some values are
|
||||||
replaced with matrix equivalents if they are provided in the response.
|
replaced with matrix equivalents if they are provided in the response.
|
||||||
The differences from the OpenGraph protocol are described here.
|
The differences from the [OpenGraph](https://ogp.me/) protocol are
|
||||||
|
described here.
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -620,6 +621,9 @@ paths:
|
||||||
format: uri
|
format: uri
|
||||||
description: An [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to
|
description: An [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to
|
||||||
the image. Omitted if there is no image.
|
the image. Omitted if there is no image.
|
||||||
|
additionalProperties:
|
||||||
|
description: |-
|
||||||
|
Additional properties as per the [OpenGraph](https://ogp.me/) protocol.
|
||||||
examples:
|
examples:
|
||||||
response:
|
response:
|
||||||
value: {
|
value: {
|
||||||
|
|
|
||||||
|
|
@ -324,7 +324,7 @@ paths:
|
||||||
This endpoint was deprecated in r0 of this specification. Clients
|
This endpoint was deprecated in r0 of this specification. Clients
|
||||||
should instead call the
|
should instead call the
|
||||||
[/rooms/{roomId}/event/{eventId}](/client-server-api/#get_matrixclientv3roomsroomideventeventid) API
|
[/rooms/{roomId}/event/{eventId}](/client-server-api/#get_matrixclientv3roomsroomideventeventid) API
|
||||||
or the [/rooms/{roomId}/context/{eventId](/client-server-api/#get_matrixclientv3roomsroomidcontexteventid) API.
|
or the [/rooms/{roomId}/context/{eventId}](/client-server-api/#get_matrixclientv3roomsroomidcontexteventid) API.
|
||||||
operationId: getOneEvent
|
operationId: getOneEvent
|
||||||
security:
|
security:
|
||||||
- accessTokenQuery: []
|
- accessTokenQuery: []
|
||||||
|
|
|
||||||
|
|
@ -369,8 +369,14 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
The [stripped state events](/client-server-api/#stripped-state) that form the
|
The [stripped state events](/client-server-api/#stripped-state) that form the
|
||||||
invite state.
|
invite state.
|
||||||
|
|
||||||
|
MUST also include the `m.room.member` event of the user with a membership of
|
||||||
|
`invite`, and using the same event format as joined rooms with the `event_id`
|
||||||
|
and `origin_server_ts` fields.
|
||||||
items:
|
items:
|
||||||
$ref: ../../event-schemas/schema/core-event-schema/stripped_state.yaml
|
anyOf:
|
||||||
|
- $ref: ../../event-schemas/schema/core-event-schema/stripped_state.yaml
|
||||||
|
- $ref: definitions/client_event_without_room_id.yaml
|
||||||
type: array
|
type: array
|
||||||
knock:
|
knock:
|
||||||
title: Knocked rooms
|
title: Knocked rooms
|
||||||
|
|
@ -394,8 +400,14 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
The [stripped state events](/client-server-api/#stripped-state) that form the
|
The [stripped state events](/client-server-api/#stripped-state) that form the
|
||||||
knock state.
|
knock state.
|
||||||
|
|
||||||
|
MUST also include the `m.room.member` event of the user with a membership of
|
||||||
|
`knock`, and using the same event format as joined rooms with the `event_id` and
|
||||||
|
`origin_server_ts` fields.
|
||||||
items:
|
items:
|
||||||
$ref: ../../event-schemas/schema/core-event-schema/stripped_state.yaml
|
anyOf:
|
||||||
|
- $ref: ../../event-schemas/schema/core-event-schema/stripped_state.yaml
|
||||||
|
- $ref: definitions/client_event_without_room_id.yaml
|
||||||
type: array
|
type: array
|
||||||
leave:
|
leave:
|
||||||
title: Left rooms
|
title: Left rooms
|
||||||
|
|
@ -628,6 +640,8 @@ paths:
|
||||||
"sender": "@alice:example.com",
|
"sender": "@alice:example.com",
|
||||||
"type": "m.room.member",
|
"type": "m.room.member",
|
||||||
"state_key": "@bob:example.com",
|
"state_key": "@bob:example.com",
|
||||||
|
"event_id": "$19dl9d3848dJLle:example.com",
|
||||||
|
"origin_server_ts": 1432735439654,
|
||||||
"content": {
|
"content": {
|
||||||
"membership": "invite"
|
"membership": "invite"
|
||||||
}
|
}
|
||||||
|
|
@ -652,6 +666,8 @@ paths:
|
||||||
"sender": "@bob:example.com",
|
"sender": "@bob:example.com",
|
||||||
"type": "m.room.member",
|
"type": "m.room.member",
|
||||||
"state_key": "@bob:example.com",
|
"state_key": "@bob:example.com",
|
||||||
|
"event_id": "$Fg83Kl3764di23a:example.com",
|
||||||
|
"origin_server_ts": 143273039402,
|
||||||
"content": {
|
"content": {
|
||||||
"membership": "knock"
|
"membership": "knock"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue