Set Riot's enable_presence_by_hs_url to false if presence is disabled

This commit is contained in:
Aaron Raimist 2019-04-25 16:27:45 -05:00
parent 55bc1c39d2
commit 5586eaddef
No known key found for this signature in database
GPG key ID: 37419210002890EF

View file

@ -14,6 +14,11 @@
"servers": {{ matrix_riot_web_roomdir_servers|to_json }} "servers": {{ matrix_riot_web_roomdir_servers|to_json }}
}, },
"welcomeUserId": {{ matrix_riot_web_welcome_user_id|to_json }}, "welcomeUserId": {{ matrix_riot_web_welcome_user_id|to_json }},
{% if matrix_synapse_use_presence|to_json %}
"enable_presence_by_hs_url": {
{{ matrix_riot_web_default_hs_url|to_json }}: false
},
{% endif %}
"embeddedPages": { "embeddedPages": {
"homeUrl": {{ matrix_riot_web_embedded_pages_home_url|to_json }} "homeUrl": {{ matrix_riot_web_embedded_pages_home_url|to_json }}
} }