mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2025-12-18 13:18:55 -05:00
unfinished untested impl of room deletion
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
0593dce8a6
commit
a94bf2cf9f
31 changed files with 400 additions and 9 deletions
|
|
@ -16,6 +16,7 @@ pub trait Data: Send + Sync {
|
|||
until: PduCount,
|
||||
) -> PduData<'a>;
|
||||
fn mark_as_referenced(&self, room_id: &RoomId, event_ids: &[Arc<EventId>]) -> Result<()>;
|
||||
fn delete_all_referenced_for_room(&self, room_id: &RoomId) -> Result<()>;
|
||||
fn is_event_referenced(&self, room_id: &RoomId, event_id: &EventId) -> Result<bool>;
|
||||
fn mark_event_soft_failed(&self, event_id: &EventId) -> Result<()>;
|
||||
fn is_event_soft_failed(&self, event_id: &EventId) -> Result<bool>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue