mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +00:00
Register to comments updateds events
This commit is contained in:
@ -202,6 +202,10 @@ class UserWebSocket {
|
||||
SendEvent("new_comment", msg.data);
|
||||
break;
|
||||
|
||||
case "comment_updated":
|
||||
SendEvent("commentUpdated", msg.data);
|
||||
break;
|
||||
|
||||
default:
|
||||
console.error("WS Unspported kind of message!", msg);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user