matrix-spec/data
Kévin Commaille 2243f836dd
Fix sync example
The same event should not appear in `state` and in the `timeline` so we cannot use the same event twice.

To provide a `state` example we assume that with lazy-loading the user did not get the state event for `@example:example.org`, so we add one since they sent a message in the timeline.

The events that are referenced include a `room_id`, which doesn't appear on this endpoint, so we copy them without it.

Finally, the `join` event of `@alice:example.org` is wrong because the sender does not match the state key, which wouldn't pass the authorization rules.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2025-02-21 16:50:26 +01:00
..
api Fix sync example 2025-02-21 16:50:26 +01:00
event-schemas Clarify formats of string types in account sections (#2046) 2025-01-17 17:18:51 +00:00
schemas Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
string-formats.yaml Fix relative URLs when serving the specification with a custom baseURL (#1984) 2024-11-14 11:11:34 +00:00