pub(crate) fn target_for(
state: &AppState,
own: &str,
agent_id: &str,
pane: Option<&str>,
) -> Result<String, (StatusCode, String)>Expand description
The pane a call acts on, once its auth gave the agent’s own pane own:
pane when the agent may act on it, else own, refused while paused or
waiting on the person. A call that waited (a sign-in’s approval) checks
again with this, not with its auth, whose freshness window is shorter.