This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Room version 11 & MSC2176: Only preserve entirety of content
instead of whole event
#15963
Labels
X-Release-Blocker
Must be resolved before making a release
Description
At
synapse/synapse/events/utils.py
Line 141 in 67f9e52
From the MSC (emphasis mine):
Therefore, we should be keeping
content
unredacted but otherwise removing other fields.Context
This came up as part of Linearized Matrix interop testing. Synapse still includes
origin
on outbound events though under v11 they are supposed to be redacted as they serve no meaningful purpose in modern room versions. Because of thereturn
mentioned above, Synapse was not redactingorigin
off the create event, but was redacting it off all other events. This lead to signature errors when not-Synapse was trying to implement the LM room version (which is v11 plus stuff not relevant here).The text was updated successfully, but these errors were encountered: