Fix to avoid putting an incorrect empty jitsi.preferredDomain when no local jitsi
This commit is contained in:
parent
515160f0d7
commit
ddc44996e3
|
@ -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 %}
|
{% if matrix_riot_web_jitsi_preferredDomain is not none and matrix_riot_web_jitsi_preferredDomain != '' %}
|
||||||
"jitsi": {
|
"jitsi": {
|
||||||
"preferredDomain": {{ matrix_riot_web_jitsi_preferredDomain|to_json }}
|
"preferredDomain": {{ matrix_riot_web_jitsi_preferredDomain|to_json }}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue