Skip to content
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

Implement MSC3912: Relation-based redactions #2954

Merged
merged 10 commits into from
Dec 20, 2022
Prev Previous commit
Improve docs
weeman1337 committed Dec 19, 2022

Verified

This commit was signed with the committer’s verified signature. The key has expired.
addaleax Anna Henningsen
commit 7ce7a343f03d03dabd7c9e3e292b6627881e0067
6 changes: 5 additions & 1 deletion src/@types/requests.ts
Original file line number Diff line number Diff line change
@@ -48,7 +48,11 @@ export interface IJoinRoomOpts {
export interface IRedactOpts {
reason?: string;
/**
* Also try to delete related events of the relation types in this array.
* Whether events related to the redacted event should be redacted.
*
* If specified, then any events which relate to the event being redacted with
* any of the relationship types listed will also be redacted.
*
* <b>Raises an Error if the server does not support it.</b>
* Check for server-side support before using this param with
* <code>client.canSupport.get(Feature.RelationBasedRedactions)</code>.