mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 22:14:10 +01:00
Update content/client-server-api/modules/event_replacements.md
Co-authored-by: Travis Ralston <travisr@matrix.org>
This commit is contained in:
parent
943b5f72f4
commit
e5a3df3706
|
|
@ -134,10 +134,14 @@ ratchet entry should **not** be re-used.
|
||||||
When applying a replacement, the `content` of the original event is treated as
|
When applying a replacement, the `content` of the original event is treated as
|
||||||
being overwritten entirely by `m.new_content`, with the exception of `m.relates_to`,
|
being overwritten entirely by `m.new_content`, with the exception of `m.relates_to`,
|
||||||
which is left *unchanged*. Any `m.relates_to` property within `m.new_content`
|
which is left *unchanged*. Any `m.relates_to` property within `m.new_content`
|
||||||
is ignored. (Note that server implementations must not *actually* overwrite
|
is ignored.
|
||||||
|
|
||||||
|
{{% boxes/note %}}
|
||||||
|
Note that server implementations must not *actually* overwrite
|
||||||
the original event's `content`: instead the server presents it as being overwritten
|
the original event's `content`: instead the server presents it as being overwritten
|
||||||
when it is served over the client-server API. See [Server-side replacement of content](#server-side-replacement-of-content)
|
when it is served over the client-server API. See [Server-side replacement of content](#server-side-replacement-of-content)
|
||||||
below.)
|
below.
|
||||||
|
{{% /boxes/note %}}
|
||||||
|
|
||||||
For example, given a pair of events:
|
For example, given a pair of events:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue