浏览代码

fix: Fixes default values in speakerstats and conf duration modules.

master
Дамян Минков 4 年前
父节点
当前提交
7c93a130ca

+ 1
- 2
resources/prosody-plugins/mod_conference_duration.lua 查看文件

@@ -1,5 +1,4 @@
1 1
 local conference_duration_component
2
-    = module:get_option_string(
3
-        "conference_duration_component", "conferenceduration"..module.host);
2
+    = module:get_option_string("conference_duration_component", "conferenceduration."..module.host);
4 3
 
5 4
 module:add_identity("component", "conference_duration", conference_duration_component);

+ 1
- 2
resources/prosody-plugins/mod_speakerstats.lua 查看文件

@@ -1,6 +1,5 @@
1 1
 local speakerstats_component
2
-    = module:get_option_string(
3
-        "speakerstats_component", "speakerstats"..module.host);
2
+    = module:get_option_string("speakerstats_component", "speakerstats."..module.host);
4 3
 
5 4
 -- Advertise speaker stats so client can pick up the address and start sending
6 5
 -- dominant speaker events

正在加载...
取消
保存