浏览代码

fix: Fixes adding permanent properties.

dev1
Boris Grozev 7 年前
父节点
当前提交
51a982a7c8
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2
    3
      JitsiConference.js

+ 2
- 3
JitsiConference.js 查看文件

@@ -2581,10 +2581,9 @@ JitsiConference.prototype._updateProperties = function(properties = {}) {
2581 2581
         ];
2582 2582
 
2583 2583
         analyticsKeys.forEach(key => {
2584
-            if (this.properties[key]
2585
-                && this.properties[key].value !== undefined) {
2584
+            if (properties[key] !== undefined) {
2586 2585
                 Statistics.analytics.addPermanentProperties({
2587
-                    [key.replace('-', '_')]: properties[key].value
2586
+                    [key.replace('-', '_')]: properties[key]
2588 2587
                 });
2589 2588
             }
2590 2589
         });

正在加载...
取消
保存