Browse Source

Fix to avoid putting an incorrect empty jitsi.preferredDomain when no local jitsi

pull/452/head
John Goerzen 6 years ago
committed by GitHub
parent
commit
ddc44996e3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roles/matrix-riot-web/templates/config.json.j2

+ 1
- 1
roles/matrix-riot-web/templates/config.json.j2 View File

@@ -30,7 +30,7 @@
"embeddedPages": {
"homeUrl": {{ matrix_riot_web_embedded_pages_home_url|string|to_json }}
},
{% if matrix_riot_web_jitsi_preferredDomain is not none %}
{% if matrix_riot_web_jitsi_preferredDomain is not none and matrix_riot_web_jitsi_preferredDomain != '' %}
"jitsi": {
"preferredDomain": {{ matrix_riot_web_jitsi_preferredDomain|to_json }}
},


Loading…
Cancel
Save