Skip to main content

can_send_impl

Function can_send_impl 

Source
pub(crate) fn can_send_impl(
    state: &AppState,
    device_id: &str,
    can_send: bool,
) -> Result<ViewerCanSendResult, String>
Expand description

Turn a device’s send grant on or off. On needs a key on file: a device that paired without one can’t sign, so it must pair again first.