Function lemmy_apub::build_actor_id_from_shortname[][src]

pub fn build_actor_id_from_shortname(
    endpoint_type: EndpointType,
    short_name: &str
) -> Result<DbUrl, ParseError>
Expand description

Takes in a shortname of the type dessalines@xyz.tld or dessalines (assumed to be local), and outputs the actor id. Used in the API for communities and users.