Skip to content

Commit f512116

Browse files
prosody: jibri and jigasi skip muc passwords (jitsi#1718)
1 parent 6c1f384 commit f512116

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
{{ $PROSODY_AUTH_TYPE := .Env.PROSODY_AUTH_TYPE | default $AUTH_TYPE -}}
55
{{ $ENABLE_GUEST_DOMAIN := and $ENABLE_AUTH (.Env.ENABLE_GUESTS | default "0" | toBool) -}}
66
{{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool -}}
7+
{{ $ENABLE_TRANSCRIPTIONS := .Env.ENABLE_TRANSCRIPTIONS | default "0" | toBool -}}
78
{{ $JIBRI_XMPP_USER := .Env.JIBRI_XMPP_USER | default "jibri" -}}
89
{{ $JIGASI_XMPP_USER := .Env.JIGASI_XMPP_USER | default "jigasi" -}}
910
{{ $JVB_AUTH_USER := .Env.JVB_AUTH_USER | default "jvb" -}}
@@ -385,7 +386,13 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
385386
muc_max_occupants = "{{ .Env.MAX_PARTICIPANTS }}"
386387
{{ end }}
387388
muc_password_whitelist = {
388-
"focus@{{ .Env.XMPP_AUTH_DOMAIN }}"
389+
"focus@{{ .Env.XMPP_AUTH_DOMAIN }}";
390+
{{- if $ENABLE_RECORDING }}
391+
"{{ $JIBRI_RECORDER_USER }}@{{ $XMPP_RECORDER_DOMAIN }}";
392+
{{- end }}
393+
{{- if $ENABLE_TRANSCRIPTIONS }}
394+
"{{ $JIGASI_TRANSCRIBER_USER }}@{{ $XMPP_RECORDER_DOMAIN }}";
395+
{{- end }}
389396
}
390397

391398
Component "focus.{{ $XMPP_DOMAIN }}" "client_proxy"

0 commit comments

Comments
 (0)