From 7e35794e47db47dc0e71ccfa40a1917163ce1e95 Mon Sep 17 00:00:00 2001 From: damencho Date: Fri, 15 Jan 2016 13:50:16 -0600 Subject: [PATCH] Passes all configs to the connection. --- connection.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/connection.js b/connection.js index 4ca26ee87..91ddb89a8 100644 --- a/connection.js +++ b/connection.js @@ -6,11 +6,7 @@ const ConnectionEvents = JitsiMeetJS.events.connection; const ConnectionErrors = JitsiMeetJS.errors.connection; function connect(id, password) { - let connection = new JitsiMeetJS.JitsiConnection(null, null, { - hosts: config.hosts, - bosh: config.bosh, - clientNode: config.clientNode - }); + let connection = new JitsiMeetJS.JitsiConnection(null, null, config); return new Promise(function (resolve, reject) { connection.addEventListener(