Skip to main content

refresh_control

Function refresh_control 

Source
pub async fn refresh_control(
    community_id: String,
    handler: Arc<dyn InboundEventHandler>,
)
Expand description

Realtime control-plane follow: walk a re-founding, fold the control plane (banlist/roles/ metadata/invites), follow channel rekeys, then resubscribe at the new pseudonyms if any epoch advanced (else just refresh the route maps so the new banlist takes live effect). Mirrors the Tauri refresh_community_control orchestration over the already-core catch_up_* primitives.