Skip to main content

apply_deletion

Function apply_deletion 

pub fn apply_deletion(
    db: &impl DbQuery,
    events: &impl EventWriter<InternalEvent>,
    deletion: &StoredGroupMessage,
    source: Source,
) -> Result<bool, StorageError>
Expand description

Record a deletion message and mark its stored target. Idempotent. Returns true when it stored a record or marked a row.