1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-25 23:09:22 +00:00

Fix error

This commit is contained in:
Pierre HUBERT 2020-04-01 14:28:39 +02:00
parent 561226f43b
commit 3b142e2370

View File

@ -99,7 +99,7 @@ export class UserWebSocketActions {
for(const client of UserWebSocketController.active_clients.filter( for(const client of UserWebSocketController.active_clients.filter(
(e) => e.registeredConversations.has(msg.convID))) { (e) => e.registeredConversations.has(msg.convID))) {
UserWebSocketController.Send(client.clientID, client.socketID, new WsMessage({ UserWebSocketController.Send(client.userID, client.socketID, new WsMessage({
id: "", id: "",
title: "new_conv_message", title: "new_conv_message",
data: ConversationsController.ConversationMessageToAPI(msg) data: ConversationsController.ConversationMessageToAPI(msg)