mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Delete comments using websocket help
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user