Skip to main content

local_user

Function local_user 

Source
pub(super) fn local_user(
    services: State,
    localpart: &str,
) -> Result<OwnedUserId>
Expand description

Parses a MAS localpart into a local user id, rejecting a malformed one with 400.