feat: Allow room moderators to view redacted event content (MSC2815)

This commit is contained in:
Erwan Leboucher authored and Ellis Git committed 2026-11-11 21:52:50 +00:00
1 parent 2c605151eb
commit 98fe280de4
9 files changed
+133 -3

No files matched your search

+11
View File
@@ -1776,6 +1776,17 @@ pub struct Config {
#[serde(default)]
pub allow_sticky_events: bool,
/// Allow room moderators to view redacted event content ([MSC2815]).
///
/// Redacted content is kept in the database indefinitely, and readable by
/// users at or above the room's `redact` power level, and server admins.
///
/// MSC2815: https://github.com/matrix-org/matrix-spec-proposals/pull/2815
///
/// default: false
#[serde(default)]
pub allow_moderators_to_view_redacted_content: bool,
/// Maximum time federation user can indicate typing.
///
/// default: 30