Преглед на файлове

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

master
Дамян Минков преди 4 години
родител
ревизия
7c93a130ca
променени са 2 файла, в които са добавени 2 реда и са изтрити 4 реда
  1. 1
    2
      resources/prosody-plugins/mod_conference_duration.lua
  2. 1
    2
      resources/prosody-plugins/mod_speakerstats.lua

+ 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

Loading…
Отказ
Запис