Skip to main content

restore

Function restore 

Source
async fn restore(
    services: &Services,
    redaction: Result<PduEvent, Unparsable>,
) -> Result<bool>
Expand description

Records one redaction on its target, reporting whether the target was rewritten.

A failure, including a redaction that does not parse, is logged and returned for the walk to count.