mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +00:00
Add fallback for unsupported kind of messages
This commit is contained in:
parent
7f0d723e69
commit
ad7dcacb33
@ -188,6 +188,9 @@ class UserWebSocket {
|
|||||||
SendEvent("newNumberUnreadConvs", msg.data)
|
SendEvent("newNumberUnreadConvs", msg.data)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
console.error("WS Unspported kind of message!", msg);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user