-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aggregations: redacting an event should also redact all of its edits. #1328
Comments
Should fix element-hq/element-web#10111. |
This likely won't be possible without some other changes as you can't redact an event somebody else sent. Edit: I think it wouldn't be great to do this, thinking of a use case where you have a forum, and a main post gets deleted whereas comments on that post should still stick around. |
Since this will create a few more redaction events, do you need them to be returned in the response to /_matrix/client/r0/rooms/{roomId}/redact/{eventId}/{txnId}? |
After meeting: We're just going to continue to return the original redaction event ID and leave the rest to come down /sync. |
For dealing with calling |
I believe we need to handle this for |
So this is currently half-implemented by blocking users from requesting relations/aggregations on a redacted event, but clients aren't told down sync that all edits should be redacted (and thus they have to work this out for themselves). @lampholder Is the current state sufficient for Riot? Is it something that should be changed still, as in is it a good long-term solution or is it all a bit hacky from the client's side still? |
Reopening as edits are still not redacted. |
I don't think that synapse should be handling this, as relations can be arbitrary, and a redaction being a cascading event should be explicitly noted. This sounds more like a spec issue, then, and/or it should be taken into the Relations MSC. I think it's better for clients to manually find and redact all "appropriate" events, i.e. not reactions to their own events, but if they're removing a message, only all edits. This should be a case-by-case situation. |
No description provided.
The text was updated successfully, but these errors were encountered: