Skip to main content

after_rebind_telling

Function after_rebind_telling 

Source
pub fn after_rebind_telling(
    mstore: &Arc<Store>,
    event_bus: &Arc<EventBus>,
    before: Vec<(String, Vec<String>)>,
    account_id: &str,
    tell: bool,
) -> usize
Expand description

after_rebind, and with tell set the agents whose last turn failed on the old login are told they are signed in (resume::start). Set it only when the new login is known to work: a move to an account the choice found valid, or a key that just passed its check. Not for an unlink (no account at all) or a key nobody has checked, whose next turn could fail again.