Expand description
Applies sender-erasure pruning to client and federation event views.
The helpers retain original events when erasure is disabled or redaction inputs cannot be resolved. Membership lookup failures are treated as not joined and can therefore trigger pruning.
Re-exportsยง
use futures::FutureExt;๐use ruma::CanonicalJsonObject;๐use ruma::CanonicalJsonValue;๐use ruma::EventId;๐use ruma::RoomId;๐use ruma::ServerName;๐use ruma::UserId;๐use ruma::canonical_json::redact_in_place;๐use ruma::events::room::member::MembershipState;๐use tuwunel_core::implement;๐use tuwunel_core::utils::BoolExt;๐use tuwunel_core::utils::result::FlatOk;๐use tuwunel_core::utils::result::LogErr;๐use tuwunel_matrix::Event;๐use tuwunel_matrix::Pdu;๐