Skip to main contentModule redact
Source use std::collections::BTreeMap; ๐ use axum::extract::State; ๐ use futures::StreamExt; ๐ use futures::TryStreamExt; ๐ use ruma::EventId; ๐ use ruma::MilliSecondsSinceUnixEpoch; ๐ use ruma::OwnedEventId; ๐ use ruma::OwnedRoomId; ๐ use ruma::OwnedUserId; ๐ use ruma::RoomId; ๐ use ruma::UInt; ๐ use ruma::UserId; ๐ use ruma::events::TimelineEventType; ๐ use ruma::events::room::member::MembershipState; ๐ use ruma::events::room::member::RoomMemberEventContent; ๐ use ruma::events::room::redaction::RoomRedactionEventContent; ๐ use serde_json::Value as JsonValue; ๐ use synapse_admin_api::users::redact::v1::Request; ๐ use synapse_admin_api::users::redact::v1::Response; ๐ use tuwunel_core::Err; ๐ use tuwunel_core::Result; ๐ use tuwunel_core::utils::BoolExt; ๐ use tuwunel_core::utils::stream::BroadbandExt; ๐ use tuwunel_core::utils::stream::TryReadyExt; ๐ use tuwunel_matrix::Event; ๐ use tuwunel_matrix::pdu::PduBuilder; ๐ use tuwunel_matrix::pdu::PduEvent; ๐ use crate::Ruma; ๐ use crate::require_admin; ๐
- RedactArgs ๐
- LIMIT_DEFAULT ๐
- Synapse defaults an omitted or zero limit to 1000 events per room.
- admin_redact_user_route ๐
POST /_synapse/admin/v1/user/{user_id}/redact- is_candidate ๐
- is_eligible ๐
- joined_and_banned_rooms ๐
- redact_events ๐
- redact_one ๐
- resolve_limit ๐
- task_result ๐
- FailedRedactions ๐