Skip to main content

delivery_alias

Function delivery_alias 

Source
pub(super) fn delivery_alias(state: &AppState, name: &str) -> Option<String>
Expand description

The slug a message to name is looked for under when nothing is registered as name: the agent’s whose current display name routes to it (“Naki-2” for “Naki #2”; registries file an agent under the slug it runs as), else the agent’s it is a former name of. A live name here is its holder’s. The request still goes out addressed to name, so its signatures cover what the sender signed (#1459).