[Fix] namings

This commit is contained in:
Alex Emmet 2026-09-09 19:55:03 +02:00
commit af2a73f6a2
No known key found for this signature in database
4 changed files with 38 additions and 227 deletions

View file

@ -210,9 +210,8 @@ impl ClientConnection {
return;
}
if cv.is_type(CommunicationType::ClientStateGet) {
// Durable client synchronization is routed through Omikron, which
// is the authority that assigns the numeric transport SessionId.
if cv.is_type(CommunicationType::AccountStateRequest) {
// Account initialization is routed through Omikron.
self.send_message(
&CommunicationValue::new(CommunicationType::ErrorInvalidData).with_request_id(&cv),
)
@ -220,7 +219,7 @@ impl ClientConnection {
return;
}
if cv.is_type(CommunicationType::ClientStateAck) {
if cv.is_type(CommunicationType::AccountStateApplied) {
self.send_message(
&CommunicationValue::new(CommunicationType::ErrorInvalidData).with_request_id(&cv),
)