|
|
|
@ -182,10 +182,10 @@ text should be `"sent a video."`. For `m.audio`, the text should be
|
|
|
|
#### Mentioning the replied to user
|
|
|
|
#### Mentioning the replied to user
|
|
|
|
|
|
|
|
|
|
|
|
In order to notify users of the reply, it may be desirable to include the `sender`
|
|
|
|
In order to notify users of the reply, it may be desirable to include the `sender`
|
|
|
|
of the replied to event and any users mentioned in that event. See
|
|
|
|
of the replied to event. See [user and room mentions](#user-and-room-mentions)
|
|
|
|
[user and room mentions](#user-and-room-mentions) for additional information.
|
|
|
|
for additional information.
|
|
|
|
|
|
|
|
|
|
|
|
An example including mentioning the original sender and other users:
|
|
|
|
An example including mentioning the original sender:
|
|
|
|
|
|
|
|
|
|
|
|
```json5
|
|
|
|
```json5
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -200,8 +200,6 @@ An example including mentioning the original sender and other users:
|
|
|
|
"user_ids": [
|
|
|
|
"user_ids": [
|
|
|
|
// The sender of $another_event.
|
|
|
|
// The sender of $another_event.
|
|
|
|
"@alice:example.org",
|
|
|
|
"@alice:example.org",
|
|
|
|
// Another Matrix ID copied from the m.mentions property of $another_event.
|
|
|
|
|
|
|
|
"@bob:example.org"
|
|
|
|
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|