mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-12-27 22:18:52 +00:00
Fix error
This commit is contained in:
parent
561226f43b
commit
3b142e2370
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user