Remove identity server section from .well-known/matrix/client if there is no identity server
Riot used to be fine with it being blank but now it complains. This creates an ugly looking comma when there is an identity server configured but I guess that's fine.
This commit is contained in:
parent
334596436d
commit
9ab68a3cb4
1 changed files with 3 additions and 1 deletions
|
@ -2,8 +2,10 @@
|
|||
{
|
||||
"m.homeserver": {
|
||||
"base_url": "{{ matrix_homeserver_url }}"
|
||||
},
|
||||
}
|
||||
{% if matrix_identity_server_url %},
|
||||
"m.identity_server": {
|
||||
"base_url": "{{ matrix_identity_server_url }}"
|
||||
}
|
||||
{% endif %}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue