Clarify that the latest_event field is serialized in the same form as the event itself

This commit is contained in:
Benjamin Bouvier 2025-06-26 13:45:51 +02:00
parent 0e05e45d84
commit 7ba3818678
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
The `latest_event` in a bundled thread information uses the same format as the event itself.

View file

@ -185,7 +185,7 @@ included under the `m.relations` property in `unsigned` for the thread root. For
```
`latest_event` is the most recent event (topologically to the server) in the thread sent by an
un-[ignored user](#ignoring-users).
un-[ignored user](#ignoring-users). It should be serialized in the same form as the event itself.
Note that, as in the example above, child events of the `latest_event` should
themselves be aggregated and included under `m.relations` for that event. The