Просмотр исходного кода
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
pull/315/head
Slavi Pantaleev
6 лет назад
committed by
GitHub
Родитель
Сommit
4cc6cdf6f3
Не найден GPG ключ соответствующий данной подписи
Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов:
3 добавлений и
1 удалений
-
roles/matrix-base/templates/static-files/well-known/matrix-client.j2
|
|
@@ -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 %} |
|
|
} |
|
|
} |