Skip to content

Commit

Permalink
Passes all configs to the connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Jan 15, 2016
1 parent aed2d97 commit 7e35794
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7e35794

Please sign in to comment.