This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Redacting MSC2716 related events #10521
Copy link
Copy link
Closed
Labels
T-OtherQuestions, user support, anything else.Questions, user support, anything else.
Description
What should happen when you redact MSC2716 related events? @erikjohnston does this look sane?
- "insertion" event
- Undo the steps we take in
_handle_insertion_event - Remove from the
insertion_eventstable - Remove all of the
insertion_event_edges
- Undo the steps we take in
- "chunk" event
- Undo the steps we take in
_handle_chunk_event - Remove from
chunk_events
- Undo the steps we take in
- "marker" event
- not merged yet, see Add support for MSC2716 marker events (federation) #10498
- Undo the steps we take in
_handle_marker_event - We backfill the insertion event in
_handle_marker_eventbut I don't think we need to undo that. If they want to redact the insertion event, they can do that separately. We can just redact the "marker" event as normal with no special logic.
A more general question but what happens when you redact a redaction? Does it cancel the event being redacted?
Metadata
Metadata
Assignees
Labels
T-OtherQuestions, user support, anything else.Questions, user support, anything else.