Skip to content

redact on ban #396

@dozro

Description

@dozro

Describe the problem

option to set redact on kick, see https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/user-redact/proposals/4293-redact-on-ban.md

Describe the solution you'd like

should be if i saw it wrong a simple added event flag and a corresponding checkbox

that the ban event looks like this after all

{
  // Irrelevant fields excluded

  "type": "m.room.member",
  "state_key": "@spam:example.org",
  "sender": "@mod:example.org",
  "content": {
    "membership": "ban",
    "reason": "flooding", // this is copied to `redacted_because`, leading to clients showing it
    "redact_events": true
  }
}

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions