|
|
@@ -12,7 +12,7 @@ ComponentsVersions.FOCUS_COMPONENT = "focus";
|
|
12
|
12
|
*/
|
|
13
|
13
|
ComponentsVersions.VIDEOBRIDGE_COMPONENT = "videobridge";
|
|
14
|
14
|
/**
|
|
15
|
|
- * The contant for the name of the XMPP server component.
|
|
|
15
|
+ * The constant for the name of the XMPP server component.
|
|
16
|
16
|
* @type {string}
|
|
17
|
17
|
*/
|
|
18
|
18
|
ComponentsVersions.XMPP_SERVER_COMPONENT = "xmpp";
|
|
|
@@ -35,7 +35,7 @@ function ComponentsVersions(conference) {
|
|
35
|
35
|
}
|
|
36
|
36
|
|
|
37
|
37
|
ComponentsVersions.prototype.processPresence =
|
|
38
|
|
-function(node, mucResource, mucJid) {
|
|
|
38
|
+ function(node, mucResource, mucJid) {
|
|
39
|
39
|
|
|
40
|
40
|
if (node.attributes.xmlns !== 'http://jitsi.org/jitmeet') {
|
|
41
|
41
|
logger.warn("Ignored presence versions node - invalid xmlns", node);
|
|
|
@@ -63,12 +63,6 @@ function(node, mucResource, mucJid) {
|
|
63
|
63
|
|
|
64
|
64
|
var version = item.value;
|
|
65
|
65
|
if (this.versions[componentName] !== version) {
|
|
66
|
|
- if(this.versions[componentName] &&
|
|
67
|
|
- componentName !== ComponentsVersions.FOCUS_COMPONENT &&
|
|
68
|
|
- componentName !== ComponentsVersions.VIDEOBRIDGE_COMPONENT) {
|
|
69
|
|
- //version is changed during the call
|
|
70
|
|
- this.conference._fireIncompatibleVersionsEvent();
|
|
71
|
|
- }
|
|
72
|
66
|
this.versions[componentName] = version;
|
|
73
|
67
|
logger.info("Got " + componentName + " version: " + version);
|
|
74
|
68
|
|