diff --git a/src/service/rooms/state_accessor/mod.rs b/src/service/rooms/state_accessor/mod.rs index 8ca1b778..9a3580dd 100644 --- a/src/service/rooms/state_accessor/mod.rs +++ b/src/service/rooms/state_accessor/mod.rs @@ -356,7 +356,9 @@ impl Service { /// Checks if a given user can redact a given event /// - /// If federation is true, it allows redaction events from any user of the same server as the original event sender + /// If `federation` is `true`, it allows redaction events from any user of the same server + /// as the original event sender, [as required by room versions >= + /// v3](https://spec.matrix.org/v1.10/rooms/v11/#handling-redactions) pub fn user_can_redact( &self, redacts: &EventId,