Skip to main content

profile_owner

Function profile_owner 

Source
async fn profile_owner(
    services: &Services,
    user_id: &str,
    clear: bool,
    propagate: bool,
) -> Result<OwnedUserId>
Expand description

Resolves the command’s target: an active local user, or with --clear and no propagation a remote user this server has cached.

Locality is judged on the lowercased form, as parse_active_local_user_id does, so a mixed-case spelling of a local user never reaches the remote branch.