From 11d400e11032c01b53ca76d185091ea663eced09 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 6 Mar 2021 15:15:03 +0100 Subject: [PATCH] Fix call system --- assets/js/components/calls/window.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/js/components/calls/window.js b/assets/js/components/calls/window.js index 11a41061..7dd3960d 100644 --- a/assets/js/components/calls/window.js +++ b/assets/js/components/calls/window.js @@ -17,7 +17,7 @@ class CallWindow extends CustomEvents { // Initialize variables this.conv = conv; - this.callID = conv.ID; + this.callID = conv.id; this.allowVideo = conv.can_have_video_call; /** @type {Map} */ @@ -373,7 +373,7 @@ class CallWindow extends CustomEvents { // Join the call await ws("calls/join", { - convID: this.conv.ID + convID: this.conv.id }) // Get call configuration @@ -381,7 +381,7 @@ class CallWindow extends CustomEvents { // Get the list of members of the call const currMembersList = await ws("calls/members", { - callID: this.conv.ID + callID: this.conv.id }) // Apply this list of user @@ -521,7 +521,7 @@ class CallWindow extends CustomEvents { // Leave the call if(UserWebSocket.IsConnected) await ws("calls/leave", { - convID: this.conv.ID + convID: this.conv.id })