Skip to main content

delete_own_reaction

Function delete_own_reaction 

Source
pub async fn delete_own_reaction(
    reaction_id: &EventId,
    recipient: PublicKey,
) -> Result<DeleteOutcome, String>
Expand description

Revoke one of OUR OWN DM reactions. Mirrors delete_own_dm but the target is a kind-7 reaction rumor: Layer 1 nukes each retained gift-wrap from its relays via the stored ephemeral key; Layer 2 sends a cooperative hide (k=7) to the counterpart + self so live clients drop the chip. No Blossom layer — reactions carry no attachments. recipient is the DM counterpart, used for the cooperative hide when no recipient-role wrap key is retained (e.g. only the self-wrap survived).