From 2f12197ec0116604c81ba2e09c60dcf2fce6e34b Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 11 Apr 2020 17:35:01 +0200 Subject: [PATCH] Fix issue --- 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 75e83b2..1d6738c 100644 --- a/src/controllers/CallsController.ts +++ b/src/controllers/CallsController.ts @@ -133,7 +133,7 @@ export class CallsController { await RTCRelayController.SendMessage({ title: "signal", callHash: callID+"-"+peerID, - peerId: String(peerID === h.getUserId() ? 0 : peerID), + peerId: String(peerID === h.getUserId() ? 0 : h.getUserId()), data: { type: type, data: data