pub(super) fn local_user( services: State, localpart: &str, ) -> Result<OwnedUserId>
Parses a MAS localpart into a local user id, rejecting a malformed one with 400.
localpart
400