diff --git a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua b/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua index 6934a9a..1a1df5b 100644 --- a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua +++ b/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 }}"