Explorar o código

jicofo: set XMPP_MUC_COMPONENT_PREFIX

Fixes: #691
Cedric Roijakkers %!s(int64=4) %!d(string=hai) anos
pai
achega
8f9caa4
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      jicofo/rootfs/defaults/sip-communicator.properties

+ 4 - 0
jicofo/rootfs/defaults/sip-communicator.properties

@@ -18,6 +18,10 @@ org.jitsi.impl.reservation.rest.BASE_URL={{ .Env.JICOFO_RESERVATION_REST_BASE_UR
 org.jitsi.jicofo.health.ENABLE_HEALTH_CHECKS=true
 {{ end }}
 
+{{ if .Env.XMPP_MUC_DOMAIN }}
+org.jitsi.jicofo.XMPP_MUC_COMPONENT_PREFIX={{ first (splitList "." .Env.XMPP_MUC_DOMAIN) }}
+{{ end }}
+
 {{ $ENABLE_AUTH := .Env.ENABLE_AUTH | default "0" | toBool }}
 {{ $AUTH_TYPE := .Env.AUTH_TYPE | default "internal" }}