Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
Travis Ralston 2022-08-24 17:21:12 -06:00 committed by GitHub
parent 22a11b3fc2
commit 9dee6d9233
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ implied meaning behind the reference, and is usually context-dependent. Such an
example is the [key verification framework](#key-verification-framework) which uses
reference relations to associate distinct events with a specific verification attempt.
When bundled, a reference relations appear as an object with a `chunk` field to
The aggregation format of `m.reference` relations consists of a single `chunk` property to
indicate all the events which `m.reference` the event (the parent). Currently,
only a single `event_id` field is present on the events in the `chunk`.
@ -24,7 +24,7 @@ messages.
An example `m.reference` would be:
```json5
```json
{
"content": {
"m.relates_to": {
@ -39,7 +39,7 @@ An example `m.reference` would be:
The [bundle](#aggregations) under `m.relations` would appear similar to the following:
```json5
```json
{
"m.reference": {
"chunk": [