Skip to main content

Module purge

Module purge 

Source
Expand description

Selectively removes historical accepted events from a room timeline.

Purging preserves state events and leaves forward-extremity mappings untouched while coordinating deletion from search, relation, and redaction-retention indexes. Selection follows room stream order rather than graph depth.

Re-exportsยง

use futures::TryStreamExt; ๐Ÿ”’
use ruma::RoomId; ๐Ÿ”’
use ruma::api::Direction; ๐Ÿ”’
use ruma::events::TimelineEventType; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::implement; ๐Ÿ”’
use tuwunel_core::trace; ๐Ÿ”’
use tuwunel_core::utils::stream::TryReadyExt; ๐Ÿ”’
use tuwunel_matrix::Event; ๐Ÿ”’
use tuwunel_matrix::pdu::PduCount; ๐Ÿ”’
use tuwunel_matrix::pdu::PduEvent; ๐Ÿ”’
use super::ExtractBody; ๐Ÿ”’
use super::RawPduId; ๐Ÿ”’
use super::bias_count; ๐Ÿ”’