Skip to content

Commit 5c5742b

Browse files
prosody: var for speakerstats modules
* prosody: var for speakerstats modules
1 parent a1d1f2c commit 5c5742b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ services:
301301
- XMPP_RECORDER_DOMAIN
302302
- XMPP_PORT
303303
- XMPP_SERVER_S2S_PORT
304+
- XMPP_SPEAKERSTATS_MODULES
304305
networks:
305306
meet.jitsi:
306307
aliases:

prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,11 @@ Component "focus.{{ $XMPP_DOMAIN }}" "client_proxy"
397397

398398
Component "speakerstats.{{ $XMPP_DOMAIN }}" "speakerstats_component"
399399
muc_component = "{{ $XMPP_MUC_DOMAIN }}"
400+
{{- if .Env.XMPP_SPEAKERSTATS_MODULES }}
401+
modules_enabled = {
402+
"{{ join "\";\n \"" (splitList "," .Env.XMPP_SPEAKERSTATS_MODULES) }}";
403+
}
404+
{{- end }}
400405

401406
Component "conferenceduration.{{ $XMPP_DOMAIN }}" "conference_duration_component"
402407
muc_component = "{{ $XMPP_MUC_DOMAIN }}"

0 commit comments

Comments
 (0)