Skip to main content

redact_event_route

Function redact_event_route 

Source
pub(crate) async fn redact_event_route(
    __arg0: State<State>,
    body: Ruma<Request>,
) -> Result<Response>
Expand description

§PUT /_matrix/client/v3/rooms/{roomId}/redact/{eventId}/{txnId}

Tries to send a redaction event into the room.

A retried transaction (the same sender and device, room, target and transaction ID) returns the earlier redaction’s event ID and sends nothing new.