don't strip unknown keys when copying redacts property to/from content

Servers are required to preserve unknown properties in event content,
since they may be added by a future version of the spec. Round-tripping
through RoomRedactionEventContent results in dropping all unknown
properties.
This commit is contained in:
Olivia Lee 2025-07-19 23:19:41 -07:00
parent 9a142c7557
commit 55a01e7113
No known key found for this signature in database
GPG key ID: 54D568A15B9CD1F9
2 changed files with 36 additions and 19 deletions

View file

@ -245,6 +245,9 @@ This will be the first release of Grapevine since it was forked from Conduit
29. Fix bug where ban reasons would be ignored when the banned user already had
a member event in the room.
([!185](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/185))
30. Stop stripping unknown properties from redaction events before sending them
to clients.
([!191](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/191))
### Added