mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-05-03 15:44:09 +02:00
Compare commits
1 commit
3673504db0
...
5664a91e20
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5664a91e20 |
|
|
@ -1 +0,0 @@
|
||||||
Remove unintentional intentional mentions in replies as per [MSC4142](https://github.com/matrix-org/matrix-spec-proposals/pull/4142).
|
|
||||||
|
|
@ -64,16 +64,11 @@ as if it were to be under `m.relates_to` directly instead.
|
||||||
|
|
||||||
#### Mentioning the replied to user
|
#### Mentioning the replied to user
|
||||||
|
|
||||||
{{% boxes/note %}}
|
In order to notify users of the reply, it may be desirable to include the `sender`
|
||||||
{{% changed-in v="1.16" %}}
|
of the replied to event and any users mentioned in that event. See
|
||||||
Clients SHOULD no longer propagate mentioned users in the replied to event.
|
[user and room mentions](#user-and-room-mentions) for additional information.
|
||||||
{{% /boxes/note %}}
|
|
||||||
|
|
||||||
In order to notify users of the reply, it MAY be desirable to include the `sender`
|
An example including mentioning the original sender and other users:
|
||||||
of the replied to event. See [user and room mentions](#user-and-room-mentions) for
|
|
||||||
additional information.
|
|
||||||
|
|
||||||
An example including mentioning the original sender:
|
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|
@ -88,6 +83,8 @@ An example including mentioning the original sender:
|
||||||
"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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue