Merge pull request #314 from aaronraimist/well-known-client-no-identity
Remove identity server section from .well-known/matrix/client if there is no identity server
This commit is contained in:
commit
4cc6cdf6f3
|
@ -2,8 +2,10 @@
|
||||||
{
|
{
|
||||||
"m.homeserver": {
|
"m.homeserver": {
|
||||||
"base_url": "{{ matrix_homeserver_url }}"
|
"base_url": "{{ matrix_homeserver_url }}"
|
||||||
},
|
}
|
||||||
|
{% if matrix_identity_server_url %},
|
||||||
"m.identity_server": {
|
"m.identity_server": {
|
||||||
"base_url": "{{ matrix_identity_server_url }}"
|
"base_url": "{{ matrix_identity_server_url }}"
|
||||||
}
|
}
|
||||||
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue