Link to the specification from user_can_redact's documentation
This commit is contained in:
parent
00d6aeddb6
commit
89c1c2109c
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue