protocol: read CASEMAPPING from CAPAB and verify it matches echos ascii identity folding, warning on mismatch instead of silently desyncing
All checks were successful
CI / check (push) Successful in 4m31s
All checks were successful
CI / check (push) Successful in 4m31s
This commit is contained in:
parent
e206f4edbb
commit
0ca06247f8
3 changed files with 29 additions and 0 deletions
|
|
@ -69,6 +69,9 @@ pub enum NetEvent {
|
|||
// The ircd's live channel-mode set from its `CAPAB CHANMODES` burst — mode
|
||||
// letters, param arity, and prefix (status) modes incl custom ones like `Y`.
|
||||
ChanModeRegistry { modes: Vec<ChanModeCap> },
|
||||
// The ircd's `CASEMAPPING` from its `CAPAB CAPABILITIES` burst. echo folds
|
||||
// identifiers as ascii, so it verifies this matches and warns otherwise.
|
||||
Casemapping { name: String },
|
||||
// A server split away (SQUIT). `server` is its SID; every user behind it — and
|
||||
// behind any server in its subtree — is gone, since a split is signalled once
|
||||
// rather than as a QUIT per user.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue