mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-25 07:19:20 -04:00
Fix bug where we didn't correctly serialize the redacted_because key over federation
This commit is contained in:
parent
3e9ee62db0
commit
1f7642efa9
2 changed files with 6 additions and 1 deletions
|
@ -811,6 +811,8 @@ class EventsStore(SQLBaseStore):
|
|||
)
|
||||
|
||||
if because:
|
||||
# It's fine to do add the event directly, since get_pdu_json
|
||||
# will serialise this field correctly
|
||||
ev.unsigned["redacted_because"] = because
|
||||
|
||||
if get_prev_content and "replaces_state" in ev.unsigned:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue