Expand description
Redactions a foreign database applied without recording them.
Some origin releases keep only a reference to a redaction on the event it redacted, both when redacting and in a rewrite of every stored row. On this server such an event reads as unredacted while its content is already gone.
Re-exportsΒ§
use std::fmt;πuse futures::Stream;πuse futures::StreamExt;πuse futures::TryStreamExt;πuse futures::stream::once;πuse ruma::OwnedEventId;πuse ruma::OwnedRoomId;πuse ruma::RoomVersionId;πuse ruma::events::TimelineEventType;πuse serde::Deserialize;πuse serde::Deserialize;πuse tuwunel_core::Result;πuse tuwunel_core::result::NotFound;πuse tuwunel_core::utils::TryReadyExt;πuse tuwunel_core::utils::stream::TryBroadbandExt;πuse tuwunel_database::KeyBuf;πuse tuwunel_matrix::event::Event;πuse tuwunel_matrix::pdu::PduEvent;πuse tuwunel_matrix::room_version::rules as room_rules;πuse super::Check;πuse super::Report;πuse super::ScanExt;πuse super::per_room;πuse super::tally;πuse crate::Services;πuse crate::migrations::marker_present;πuse crate::rooms::timeline::Mapped;πuse crate::rooms::timeline::Restoration;π
StructsΒ§
- Kind π
- The event type of a stored row, read without the rest of the event.
- Unparsable π
- A timeline row typed a redaction that does not parse as an event.
EnumsΒ§
- Finding
- A redaction its target does not record although the targetβs content is gone.
ConstantsΒ§
- ORIGIN_
COLUMN π - ORIGIN_
MARKER π
StaticsΒ§
- CHECK π
FunctionsΒ§
- classify π
- records_
by_ πreference - Whether the origin ever opened the database with a release that records redactions by reference.
- redaction π
- The redaction event a timeline row holds.
- redactions π
- Streams every redaction event the timeline stores.
- scan
- Streams each redaction recording would apply to its target, and each one this check cannot decide.
- version π