Skip to main content

delete_community

Function delete_community 

Source
pub fn delete_community(community_id: &str) -> Result<(), String>
Expand description

Remove a Community and all its local state (channels, retained message keys, parked invites, minted public-invite tokens). Used when the user leaves a Community — there is no protocol “leave” (membership is key possession), so leaving is purely local: drop the keys + stop subscribing.