Skip to main content

check_profile_key

Function check_profile_key 

Source
fn check_profile_key(name: &str) -> Result
Expand description

Validate a profile field name against the Common Namespaced Identifier Grammar: a lowercase-leading identifier over [a-z0-9_.-], matching the reference homeserver. Length is bounded separately by MAX_KEY_LENGTH.