Skip to main content

Module redactions

Module redactions 

Source

Re-exportsยง

use futures::TryFutureExt; ๐Ÿ”’
use tuwunel_core::Err; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::err; ๐Ÿ”’
use tuwunel_core::info; ๐Ÿ”’
use tuwunel_core::info; ๐Ÿ”’
use tuwunel_core::utils::TryReadyExt; ๐Ÿ”’
use tuwunel_core::utils::stream::TryBroadbandExt; ๐Ÿ”’
use tuwunel_core::warn; ๐Ÿ”’
use tuwunel_matrix::event::Event; ๐Ÿ”’
use tuwunel_matrix::pdu::PduEvent; ๐Ÿ”’
use tuwunel_matrix::room_version::rules as room_rules; ๐Ÿ”’
use super::rebuild_thread_summaries; ๐Ÿ”’
use crate::Services; ๐Ÿ”’
use crate::integrity::redactions::Redaction; ๐Ÿ”’
use crate::integrity::redactions::Unparsable; ๐Ÿ”’
use crate::integrity::redactions::records_by_reference; ๐Ÿ”’
use crate::integrity::redactions::redactions; ๐Ÿ”’

Structsยง

Tally ๐Ÿ”’
Counts of what one walk of the timeline did.

Constantsยง

MARKER ๐Ÿ”’
Stamped once the timeline has been checked for redactions applied without being recorded.

Functionsยง

restore ๐Ÿ”’
Records one redaction on its target, reporting whether the target was rewritten.
restore_redactions ๐Ÿ”’
Records each applied redaction that a foreign database left unrecorded on the event it redacted.
restore_target ๐Ÿ”’