ruwuma/crates/ruma-identifiers
gnieto 824cefb3e9
Properly validate localpart when parsing UserId
When a `UserId` was created via `parse_with_server_name` (and its
variants), the localpart was not validated. This lead to invalid user
ids being constructed and lead to a crash when `is_historical` was
called.

This changes will prevent that this invalid user is can be constructed.
2022-01-03 14:58:38 +00:00
..

ruma-identifiers

crates.io page docs.rs page license: MIT

ruma-identifiers contains types for Matrix identifiers for events, rooms, room aliases, and users.