From 5ac5299002d870302e8d77d10f64707e92ac2a0d Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 11 Apr 2020 14:41:50 +0200 Subject: [PATCH] Use more comprehensive event name --- src/controllers/CallsController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/CallsController.ts b/src/controllers/CallsController.ts index 05fcf6b..9cc2cab 100644 --- a/src/controllers/CallsController.ts +++ b/src/controllers/CallsController.ts @@ -183,7 +183,7 @@ export class CallsController { // Notify all other users await UserWebSocketController.SendToSpecifcClients( (c) => c.activeCalls.has(callID) && c.userID != h.getUserId(), - () => WsMessage.NoIDMessage("user_ready", { + () => WsMessage.NoIDMessage("call_peer_ready", { callID: callID, userID: h.getUserId() })