mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 21:14:09 +01:00
Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
22a11b3fc2
commit
9dee6d9233
|
|
@ -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": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue