[WIP] Client connections
This commit is contained in:
parent
5716ed1aa2
commit
84bdcab0d1
4 changed files with 7 additions and 7 deletions
|
|
@ -349,7 +349,7 @@ impl OmegaConnection {
|
|||
match msg {
|
||||
Some(Ok(Message::Text(msg))) => {
|
||||
let cv = CommunicationValue::from_json(&msg);
|
||||
if cv.is_type(CommunicationType::pong) {
|
||||
if cv.is_type(CommunicationType::pong) || cv.is_type(CommunicationType::ping) {
|
||||
self.handle_pong(&cv, true).await;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue