mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-11-03 11:44:19 +00:00
Give new comments through WebSocket
This commit is contained in:
@@ -197,6 +197,10 @@ class UserWebSocket {
|
||||
case "new_conv_message":
|
||||
SendEvent("newConvMessage", msg.data);
|
||||
break;
|
||||
|
||||
case "new_comment":
|
||||
SendEvent("new_comment", msg.data);
|
||||
break;
|
||||
|
||||
default:
|
||||
console.error("WS Unspported kind of message!", msg);
|
||||
|
||||
Reference in New Issue
Block a user