prosody: fix lobby when authentication is enabled

pull/935/head
Saúl Ibarra Corretgé 4 years ago
parent 24781e38bf
commit 3e04fb4fc2
  1. 17
      prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

@ -86,7 +86,7 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}"
"ping";
"speakerstats";
"conference_duration";
{{ if and $ENABLE_LOBBY (not $ENABLE_GUEST_DOMAIN) }}
{{ if $ENABLE_LOBBY }}
"muc_lobby_rooms";
{{ end }}
{{ if .Env.XMPP_MODULES }}
@ -97,7 +97,7 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}"
{{end}}
}
{{ if and $ENABLE_LOBBY (not $ENABLE_GUEST_DOMAIN) }}
{{ if $ENABLE_LOBBY }}
main_muc = "{{ .Env.XMPP_MUC_DOMAIN }}"
lobby_muc = "lobby.{{ .Env.XMPP_DOMAIN }}"
{{ if .Env.XMPP_RECORDER_DOMAIN }}
@ -123,19 +123,6 @@ VirtualHost "{{ .Env.XMPP_GUEST_DOMAIN }}"
allow_empty_token = true
c2s_require_encryption = false
{{ if $ENABLE_LOBBY }}
modules_enabled = {
"muc_lobby_rooms";
}
main_muc = "{{ .Env.XMPP_MUC_DOMAIN }}"
lobby_muc = "lobby.{{ .Env.XMPP_DOMAIN }}"
{{ if .Env.XMPP_RECORDER_DOMAIN }}
muc_lobby_whitelist = { "{{ .Env.XMPP_RECORDER_DOMAIN }}" }
{{ end }}
{{ end }}
{{ end }}
VirtualHost "{{ .Env.XMPP_AUTH_DOMAIN }}"

Loading…
Cancel
Save