Skip to content

Commit

Permalink
feat: remove custom xmpp domain
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenard committed Mar 26, 2024
1 parent 22e8b7c commit 0ccf858
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions api/v1alpha1/jitsi_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,6 @@ func (jitsi *Jitsi) EnvVarValue(name string) string {
value = jitsi.Spec.Region
case "PUBLIC_URL":
value = "https://" + jitsi.Spec.Domain
case "XMPP_DOMAIN":
value = jitsi.Spec.Domain
case "XMPP_AUTH_DOMAIN":
value = "auth." + jitsi.EnvVarValue("XMPP_DOMAIN")
case "XMPP_GUEST_DOMAIN":
value = "guest." + jitsi.EnvVarValue("XMPP_DOMAIN")
case "XMPP_INTERNAL_MUC_DOMAIN":
value = "internal-muc." + jitsi.EnvVarValue("XMPP_DOMAIN")
case "XMPP_MUC_DOMAIN":
value = "muc." + jitsi.EnvVarValue("XMPP_DOMAIN")
case "XMPP_RECORDER_DOMAIN":
value = "recorder." + jitsi.EnvVarValue("XMPP_DOMAIN")
case "SHUTDOWN_REST_ENABLED":
if jitsi.Spec.JVB.GracefulShutdown || jitsi.Spec.Variables["SHUTDOWN_REST_ENABLED"] == "1" {
value = "1"
Expand Down

0 comments on commit 0ccf858

Please sign in to comment.