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