mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 14:04:10 +01:00
1 KiB
1 KiB
Upon receipt of a redaction event, the server must strip off any keys not in the following list:
event_idtyperoom_idsenderstate_keycontenthashessignaturesdepthprev_eventsprev_stateauth_eventsoriginorigin_server_tsmembership
The content object must also be stripped of all keys, unless it is one of the following event types:
m.room.memberallows keymembership.m.room.createallows keycreator.m.room.join_rulesallows keyjoin_rule.m.room.power_levelsallows keysban,events,events_default,kick,redact,state_default,users,users_default.m.room.aliasesallows keyaliases.m.room.history_visibilityallows keyhistory_visibility.