mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-25 21:39:21 +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)
|
||||
break;
|
||||
|
||||
default:
|
||||
console.error("WS Unspported kind of message!", msg);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user