From 9d68c9e1a1d248011e3a1ad4276527dd3514a53f Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 22 Jun 2018 11:24:30 +0100 Subject: [PATCH] Logging & comment fix --- src/CallHandler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CallHandler.js b/src/CallHandler.js index 55a05798af..a65d82fe85 100644 --- a/src/CallHandler.js +++ b/src/CallHandler.js @@ -429,6 +429,7 @@ function _startCallApp(roomId, type) { const widgetSessionId = Math.random().toString(36).substring(2); const confId = room.roomId.replace(/[^A-Za-z0-9]/g, '') + widgetSessionId; // NB. we can't just encodeURICompoent all of these because the $ signs need to be there + // (but currently the only thing that needs encoding is the confId) const queryString = [ 'confId='+encodeURIComponent(confId), 'isAudioConf='+(type === 'voice' ? 'true' : 'false'), @@ -460,7 +461,7 @@ function _startCallApp(roomId, type) { 'im.vector.modular.widgets', jitsiEvent, widgetId, - ).then(() => console.log('Sent state'), (e) => console.error(e)); + ).then(() => console.log('Sent jitsi widget state event'), (e) => console.error(e)); } // FIXME: Nasty way of making sure we only register