Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Removes console.warn message from do_external_connect.js if there is no error passed.

hristoterezov166a609b94f8
diff --git a/connection_optimization/do_external_connect.js b/connection_optimization/do_external_connect.js
index 99c277f4fa..b4b9fbc58a 100644
--- a/connection_optimization/do_external_connect.js
+++ b/connection_optimization/do_external_connect.js
@@ -42,7 +42,8 @@ function buildToken(){
}
function error_callback(error){
- console.warn(error);
+ if(error) //error=undefined if external connect is disabled.
+ console.warn(error);
// Sets that global variable to be used later by connect method in
// connection.js
window.XMPPAttachInfo = {