Skip to content

Update MSC3912 implementation: Redaction of related events #25471

@giomfo

Description

@giomfo

Your use case

Description:

Since MSC3912 has been implemented by matrix-org/matrix-js-sdk#2954, we introduced 2 changes into the MSC for which we need to update this implementation :

  • the new property with_relations has been renamed with_rel_types (to prevent us from introducing a new term ("relations") to refer to event relationships). Only the stable name is changed, we keep the existing unstable one.
  • we introduced a catch-all "*" value, which if found in the list means "any relation type"

I think only the first point need some change in the js-sdk. This sdk seems ready to support the second point.
This second point may be taken into account in a moderation tool where the client may not be aware of the relation types associated with an event.

Have you considered any alternatives?

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

O-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions