Simplify if conditions

development
Slavi Pantaleev 5 years ago committed by GitHub
parent ddc44996e3
commit 69338d045a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save