Give new comments through WebSocket

This commit is contained in:
2020-04-01 19:06:57 +02:00
parent 589b96d8bb
commit 0344ca5ca9
3 changed files with 33 additions and 12 deletions

View File

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