Browse Source

Merge pull request #330 from jitsi/remove_conferences_map

ref(connection): Remove unused property
dev1
Дамян Минков 8 years ago
parent
commit
cff370ef63
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      JitsiConnection.js

+ 1
- 5
JitsiConnection.js View File

16
     this.token = token;
16
     this.token = token;
17
     this.options = options;
17
     this.options = options;
18
     this.xmpp = new XMPP(options, token);
18
     this.xmpp = new XMPP(options, token);
19
-    this.conferences = {};
20
 
19
 
21
     this.addEventListener(JitsiConnectionEvents.CONNECTION_FAILED,
20
     this.addEventListener(JitsiConnectionEvents.CONNECTION_FAILED,
22
         function (errType, msg) {
21
         function (errType, msg) {
91
  * @returns {JitsiConference} returns the new conference object.
90
  * @returns {JitsiConference} returns the new conference object.
92
  */
91
  */
93
 JitsiConnection.prototype.initJitsiConference = function (name, options) {
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
 /**

Loading…
Cancel
Save