Skip to main content

accept_coop_share_package

Function accept_coop_share_package 

Source
pub fn accept_coop_share_package(
    package_or_invite: String,
) -> Result<Value, String>
Expand description

Accept a coop share package or a bare connect-invite JSON (one paste). Connects to the host, scopes the project, admits host+self on the local roster, registers mesh peer when magic_link is present, and opens a project group chat when possible.