Quellcode durchsuchen

Passes all configs to the connection.

master
damencho vor 9 Jahren
Ursprung
Commit
7e35794e47
1 geänderte Dateien mit 1 neuen und 5 gelöschten Zeilen
  1. 1
    5
      connection.js

+ 1
- 5
connection.js Datei anzeigen

@@ -6,11 +6,7 @@ const ConnectionEvents = JitsiMeetJS.events.connection;
6 6
 const ConnectionErrors = JitsiMeetJS.errors.connection;
7 7
 
8 8
 function connect(id, password) {
9
-    let connection = new JitsiMeetJS.JitsiConnection(null, null, {
10
-        hosts: config.hosts,
11
-        bosh: config.bosh,
12
-        clientNode: config.clientNode
13
-    });
9
+    let connection = new JitsiMeetJS.JitsiConnection(null, null, config);
14 10
 
15 11
     return new Promise(function (resolve, reject) {
16 12
         connection.addEventListener(

Laden…
Abbrechen
Speichern