fix(prosody): Drops some unnecessary configs.
This commit is contained in:
@@ -170,21 +170,13 @@ VirtualHost "{{ $XMPP_DOMAIN }}"
|
|||||||
"websocket";
|
"websocket";
|
||||||
"smacks"; -- XEP-0198: Stream Management
|
"smacks"; -- XEP-0198: Stream Management
|
||||||
{{ end }}
|
{{ end }}
|
||||||
"speakerstats";
|
|
||||||
"conference_duration";
|
"conference_duration";
|
||||||
"room_metadata";
|
|
||||||
{{ if $ENABLE_END_CONFERENCE }}
|
|
||||||
"end_conference";
|
|
||||||
{{ end }}
|
|
||||||
{{ if $ENABLE_LOBBY }}
|
{{ if $ENABLE_LOBBY }}
|
||||||
"muc_lobby_rooms";
|
"muc_lobby_rooms";
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if $ENABLE_BREAKOUT_ROOMS }}
|
{{ if $ENABLE_BREAKOUT_ROOMS }}
|
||||||
"muc_breakout_rooms";
|
"muc_breakout_rooms";
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if $ENABLE_AV_MODERATION }}
|
|
||||||
"av_moderation";
|
|
||||||
{{ end }}
|
|
||||||
{{ if .Env.XMPP_MODULES }}
|
{{ if .Env.XMPP_MODULES }}
|
||||||
"{{ join "\";\n \"" (splitList "," .Env.XMPP_MODULES | compact) }}";
|
"{{ join "\";\n \"" (splitList "," .Env.XMPP_MODULES | compact) }}";
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -204,7 +196,6 @@ VirtualHost "{{ $XMPP_DOMAIN }}"
|
|||||||
}
|
}
|
||||||
|
|
||||||
main_muc = "{{ $XMPP_MUC_DOMAIN }}"
|
main_muc = "{{ $XMPP_MUC_DOMAIN }}"
|
||||||
room_metadata_component = "metadata.{{ $XMPP_DOMAIN }}"
|
|
||||||
{{ if $ENABLE_LOBBY }}
|
{{ if $ENABLE_LOBBY }}
|
||||||
lobby_muc = "lobby.{{ $XMPP_DOMAIN }}"
|
lobby_muc = "lobby.{{ $XMPP_DOMAIN }}"
|
||||||
{{ if or $ENABLE_RECORDING $ENABLE_TRANSCRIPTIONS }}
|
{{ if or $ENABLE_RECORDING $ENABLE_TRANSCRIPTIONS }}
|
||||||
@@ -220,17 +211,6 @@ VirtualHost "{{ $XMPP_DOMAIN }}"
|
|||||||
breakout_rooms_muc = "breakout.{{ $XMPP_DOMAIN }}"
|
breakout_rooms_muc = "breakout.{{ $XMPP_DOMAIN }}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
speakerstats_component = "speakerstats.{{ $XMPP_DOMAIN }}"
|
|
||||||
conference_duration_component = "conferenceduration.{{ $XMPP_DOMAIN }}"
|
|
||||||
|
|
||||||
{{ if $ENABLE_END_CONFERENCE }}
|
|
||||||
end_conference_component = "endconference.{{ $XMPP_DOMAIN }}"
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ if $ENABLE_AV_MODERATION }}
|
|
||||||
av_moderation_component = "avmoderation.{{ $XMPP_DOMAIN }}"
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
c2s_require_encryption = {{ $C2S_REQUIRE_ENCRYPTION }}
|
c2s_require_encryption = {{ $C2S_REQUIRE_ENCRYPTION }}
|
||||||
|
|
||||||
{{ if $ENABLE_VISITORS -}}
|
{{ if $ENABLE_VISITORS -}}
|
||||||
@@ -404,9 +384,6 @@ Component "speakerstats.{{ $XMPP_DOMAIN }}" "speakerstats_component"
|
|||||||
}
|
}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
Component "conferenceduration.{{ $XMPP_DOMAIN }}" "conference_duration_component"
|
|
||||||
muc_component = "{{ $XMPP_MUC_DOMAIN }}"
|
|
||||||
|
|
||||||
{{ if $ENABLE_END_CONFERENCE }}
|
{{ if $ENABLE_END_CONFERENCE }}
|
||||||
Component "endconference.{{ $XMPP_DOMAIN }}" "end_conference"
|
Component "endconference.{{ $XMPP_DOMAIN }}" "end_conference"
|
||||||
muc_component = "{{ $XMPP_MUC_DOMAIN }}"
|
muc_component = "{{ $XMPP_MUC_DOMAIN }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user