diff options
author | Eric Eastwood <erice@element.io> | 2022-08-19 15:37:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 15:37:01 -0500 |
commit | 06df5d4250f54d5a95b0c90bfc9352ec6f02c520 (patch) | |
tree | 74787f1930fe8d12f5a419b2ace1468cf84e04d9 /synapse/events | |
parent | Implement MSC3852: Expose `last_seen_user_agent` to users for their own devic... (diff) | |
download | synapse-06df5d4250f54d5a95b0c90bfc9352ec6f02c520.tar.xz |
MSC2716v4 room version - remove namespace from MSC2716 event content fields (#13551)
Complement PR: https://github.com/matrix-org/complement/pull/450 As suggested in https://github.com/matrix-org/matrix-spec-proposals/pull/2716#discussion_r941444525
Diffstat (limited to 'synapse/events')
-rw-r--r-- | synapse/events/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py index ac91c5eb57..71853caad8 100644 --- a/synapse/events/utils.py +++ b/synapse/events/utils.py @@ -161,7 +161,7 @@ def prune_event_dict(room_version: RoomVersion, event_dict: JsonDict) -> JsonDic elif room_version.msc2716_redactions and event_type == EventTypes.MSC2716_BATCH: add_fields(EventContentFields.MSC2716_BATCH_ID) elif room_version.msc2716_redactions and event_type == EventTypes.MSC2716_MARKER: - add_fields(EventContentFields.MSC2716_MARKER_INSERTION) + add_fields(EventContentFields.MSC2716_INSERTION_EVENT_REFERENCE) allowed_fields = {k: v for k, v in event_dict.items() if k in allowed_keys} |