|
|
@@ -16,7 +16,6 @@ function JitsiConnection(appID, token, options) {
|
|
16
|
16
|
this.token = token;
|
|
17
|
17
|
this.options = options;
|
|
18
|
18
|
this.xmpp = new XMPP(options, token);
|
|
19
|
|
- this.conferences = {};
|
|
20
|
19
|
|
|
21
|
20
|
this.addEventListener(JitsiConnectionEvents.CONNECTION_FAILED,
|
|
22
|
21
|
function (errType, msg) {
|
|
|
@@ -91,10 +90,7 @@ JitsiConnection.prototype.setToken = function (token) {
|
|
91
|
90
|
* @returns {JitsiConference} returns the new conference object.
|
|
92
|
91
|
*/
|
|
93
|
92
|
JitsiConnection.prototype.initJitsiConference = function (name, options) {
|
|
94
|
|
- var conference
|
|
95
|
|
- = new JitsiConference({name: name, config: options, connection: this});
|
|
96
|
|
- this.conferences[name] = conference;
|
|
97
|
|
- return conference;
|
|
|
93
|
+ return new JitsiConference({name: name, config: options, connection: this});
|
|
98
|
94
|
};
|
|
99
|
95
|
|
|
100
|
96
|
/**
|