Delete comments using websocket help

This commit is contained in:
2020-04-02 18:31:41 +02:00
parent 96ed7a47b8
commit ac85cd4e6e
2 changed files with 17 additions and 5 deletions

View File

@ -205,6 +205,10 @@ class UserWebSocket {
case "comment_updated":
SendEvent("commentUpdated", msg.data);
break;
case "comment_deleted":
SendEvent("commentDeleted", msg.data);
break;
default:
console.error("WS Unspported kind of message!", msg);