Merge pull request #452 from jgoerzen/patch-1

Fix to avoid putting an incorrect empty jitsi.preferredDomain when no…
This commit is contained in:
Slavi Pantaleev 2020-04-12 01:09:35 +03:00 committed by GitHub
commit 11968126d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 %}
"jitsi": {
"preferredDomain": {{ matrix_riot_web_jitsi_preferredDomain|to_json }}
},