Add fallback for unsupported kind of messages

This commit is contained in:
Pierre HUBERT 2020-04-01 11:28:13 +02:00
parent 7f0d723e69
commit ad7dcacb33

View File

@ -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;
} }
} }