From 3b142e2370818163a758947a6d3c06bdd673757a Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 1 Apr 2020 14:28:39 +0200 Subject: [PATCH] Fix error --- src/controllers/UserWebSocketActions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/UserWebSocketActions.ts b/src/controllers/UserWebSocketActions.ts index 1f14794..2d503df 100644 --- a/src/controllers/UserWebSocketActions.ts +++ b/src/controllers/UserWebSocketActions.ts @@ -98,8 +98,8 @@ export class UserWebSocketActions { public static async SentNewConversationMessage(msg: ConversationMessage) { for(const client of UserWebSocketController.active_clients.filter( (e) => e.registeredConversations.has(msg.convID))) { - - UserWebSocketController.Send(client.clientID, client.socketID, new WsMessage({ + + UserWebSocketController.Send(client.userID, client.socketID, new WsMessage({ id: "", title: "new_conv_message", data: ConversationsController.ConversationMessageToAPI(msg)