Compare commits

...

6 commits

Author SHA1 Message Date
Kévin Commaille b1e756e921
Merge 3c17aa3789 into 58744f4734 2025-10-07 15:31:01 -06:00
Sarthak Kumar Shailendra 58744f4734
fix: update twitter icon to x (#2219)
Some checks are pending
Spec / 🔎 Validate OpenAPI specifications (push) Waiting to run
Spec / 🔎 Check Event schema examples (push) Waiting to run
Spec / 🔎 Check OpenAPI definitions examples (push) Waiting to run
Spec / 🔎 Check JSON Schemas inline examples (push) Waiting to run
Spec / ⚙️ Calculate baseURL for later jobs (push) Waiting to run
Spec / 🐍 Build OpenAPI definitions (push) Blocked by required conditions
Spec / 📢 Run towncrier for changelog (push) Waiting to run
Spec / 📖 Build the spec (push) Blocked by required conditions
Spec / 🔎 Validate generated HTML (push) Blocked by required conditions
Spec / 📖 Build the historical backup spec (push) Blocked by required conditions
Spell Check / Spell Check with Typos (push) Waiting to run
2025-10-07 19:40:33 +01:00
Johannes Marbach dfdb1d09b8
Add missing bracket (#2224) 2025-10-07 13:18:05 -04:00
Johannes Marbach f82d8ab15b
Clarify that additional OpenGraph properties can be present in URL previews (#2225)
Some checks are pending
Spec / 🔎 Validate OpenAPI specifications (push) Waiting to run
Spec / 🔎 Check Event schema examples (push) Waiting to run
Spec / 🔎 Check OpenAPI definitions examples (push) Waiting to run
Spec / 🔎 Check JSON Schemas inline examples (push) Waiting to run
Spec / ⚙️ Calculate baseURL for later jobs (push) Waiting to run
Spec / 🐍 Build OpenAPI definitions (push) Blocked by required conditions
Spec / 📢 Run towncrier for changelog (push) Waiting to run
Spec / 📖 Build the spec (push) Blocked by required conditions
Spec / 🔎 Validate generated HTML (push) Blocked by required conditions
Spec / 📖 Build the historical backup spec (push) Blocked by required conditions
Spell Check / Spell Check with Typos (push) Waiting to run
Fixes: #1753

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2025-10-07 10:44:20 +02:00
Kévin Commaille 3c17aa3789
Add changelog
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2025-07-25 10:44:39 +02:00
Kévin Commaille 506bc1a164
Clarify that stripped state in /sync response must include m.room.member event of user
And that event has the same format as in join rooms, with `event_id` and
`origin_server_ts`.

This has always been the case in homeserver implementations.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2025-07-25 09:56:33 +02:00
9 changed files with 35 additions and 6 deletions

View file

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

View file

@ -0,0 +1 @@
Fix various typos throughout the specification.

View file

@ -0,0 +1 @@
Additional OpenGraph properties can be present in URL previews.

View file

@ -0,0 +1 @@
Swapped icon for X (fka. twitter) to updated logo in footer.

View file

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

View file

@ -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: {

View file

@ -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: {

View file

@ -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: []

View file

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