Przeglądaj źródła

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

master
Дамян Минков 4 lat temu
rodzic
commit
7c93a130ca

+ 1
- 2
resources/prosody-plugins/mod_conference_duration.lua Wyświetl plik

@@ -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 Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz