Compare commits

...

4 commits

Author SHA1 Message Date
Kévin Commaille adf7ba6358
Merge 3c17aa3789 into 2f6867348f 2025-12-21 12:01:52 -07:00
Andrew Morgan 2f6867348f
Replace Twitter link in footer with Masto/Bluesky (#2282)
Some checks failed
Spec / 🔎 Validate OpenAPI specifications (push) Has been cancelled
Spec / 🔎 Check Event schema examples (push) Has been cancelled
Spec / 🔎 Check OpenAPI definitions examples (push) Has been cancelled
Spec / 🔎 Check JSON Schemas inline examples (push) Has been cancelled
Spec / ⚙️ Calculate baseURL for later jobs (push) Has been cancelled
Spec / 📢 Run towncrier for changelog (push) Has been cancelled
Spell Check / Spell Check with Typos (push) Has been cancelled
Spec / 🐍 Build OpenAPI definitions (push) Has been cancelled
Spec / 📖 Build the spec (push) Has been cancelled
Spec / 🔎 Validate generated HTML (push) Has been cancelled
Spec / 📖 Build the historical backup spec (push) Has been cancelled
2025-12-19 15:59:08 +00: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
4 changed files with 39 additions and 15 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 @@
Replace the Twitter link in the footer with our BlueSky and Mastodon socials.

View file

@ -121,10 +121,15 @@ sidebar_menu_compact = true
icon = "fab fa-youtube" icon = "fab fa-youtube"
desc = "Matrix YouTube channel" desc = "Matrix YouTube channel"
[[params.links.bottom]] [[params.links.bottom]]
name = "Twitter" name = "Mastodon"
url = "https://twitter.com/matrixdotorg" url = "https://mastodon.matrix.org/@matrix"
icon = "fab fa-x-twitter" icon = "fab fa-mastodon"
desc = "Matrix on Twitter" desc = "Matrix on Mastodon"
[[params.links.bottom]]
name = "Bluesky"
url = "https://bsky.app/profile/matrix.org"
icon = "fab fa-bluesky"
desc = "Matrix on Bluesky"
# configuration for the hugo development server # configuration for the hugo development server

View file

@ -374,8 +374,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
@ -399,8 +405,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
@ -633,6 +645,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"
} }
@ -657,6 +671,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"
} }