mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-24 03:34:14 +02:00
Add some compatibility hacks.
This commit is contained in:
parent
b09d48a9f7
commit
4503327450
|
|
@ -7,3 +7,11 @@ ID of the event being redacted.
|
||||||
The presence of this field at the event level, rather than under the `content`
|
The presence of this field at the event level, rather than under the `content`
|
||||||
key, is anomalous. This MSC proposes that, in a future room version, the
|
key, is anomalous. This MSC proposes that, in a future room version, the
|
||||||
`redacts` property be moved under the `content` key.
|
`redacts` property be moved under the `content` key.
|
||||||
|
|
||||||
|
For backwards-compatibility with *older* clients, servers should add a `redacts`
|
||||||
|
property to the top level of `m.room.redaction` events in *newer* room versions
|
||||||
|
when serving such events over the Client-Server API.
|
||||||
|
|
||||||
|
For improved compatibility with *newer* clients, servers should add a `redacts`
|
||||||
|
property to the `content` of `m.room.redaction` events in *older* room versions
|
||||||
|
when serving such events over the Client-Server API.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue