Skip to main content

validate_room_name

Function validate_room_name 

Source
pub fn validate_room_name(name: &str) -> Result<(), String>
Expand description

The room-name rule set: empty is fine (server autogenerates), otherwise up to 24 printable extended-ASCII characters.

ยงErrors

The two refusal reasons: too long, characters outside the Windows-1252 printable range.