Просмотр исходного кода

Rename matrix_riot_jitsi_preferredDomain and matrix_riot_e2ee_default to Element

pull/657/head
Chris van Dijk 5 лет назад
Родитель
Сommit
f6b0f0a477
3 измененных файлов: 7 добавлений и 9 удалений
  1. +0
    -2
      group_vars/matrix_servers
  2. +4
    -4
      roles/matrix-base/defaults/main.yml
  3. +3
    -3
      roles/matrix-base/templates/static-files/well-known/matrix-client.j2

+ 0
- 2
group_vars/matrix_servers Просмотреть файл

@@ -18,8 +18,6 @@

matrix_identity_server_url: "{{ ('https://' + matrix_server_fqn_matrix) if matrix_ma1sd_enabled else None }}"

matrix_riot_jitsi_preferredDomain: "{{ matrix_server_fqn_jitsi if matrix_jitsi_enabled else '' }}"

######################################################################
#
# /matrix-base


+ 4
- 4
roles/matrix-base/defaults/main.yml Просмотреть файл

@@ -59,13 +59,13 @@ matrix_integration_manager_ui_url: ~

# The domain name where a Jitsi server is self-hosted.
# If set, `/.well-known/matrix/client` will suggest Element clients to use that Jitsi server.
# See: https://github.com/vector-im/riot-web/blob/develop/docs/jitsi.md#configuring-riot-to-use-your-self-hosted-jitsi-server
matrix_riot_jitsi_preferredDomain: ''
# See: https://github.com/vector-im/element-web/blob/develop/docs/jitsi.md#configuring-element-to-use-your-self-hosted-jitsi-server
matrix_client_element_jitsi_preferredDomain: ''

# Controls whether Element should use End-to-End Encryption by default.
# Setting this to false will update `/.well-known/matrix/client` and tell Element clients to avoid E2EE.
# See: https://github.com/vector-im/riot-web/blob/develop/docs/e2ee.md
matrix_riot_e2ee_default: true
# See: https://github.com/vector-im/element-web/blob/develop/docs/e2ee.md
matrix_client_element_e2ee_default: true

# The Docker network that all services would be put into
matrix_docker_network: "matrix"


+ 3
- 3
roles/matrix-base/templates/static-files/well-known/matrix-client.j2 Просмотреть файл

@@ -18,12 +18,12 @@
]
}
{% endif %}
{% if matrix_riot_jitsi_preferredDomain %},
{% if matrix_client_element_jitsi_preferredDomain %},
"im.vector.riot.jitsi": {
"preferredDomain": {{ matrix_riot_jitsi_preferredDomain|to_json }}
"preferredDomain": {{ matrix_client_element_jitsi_preferredDomain|to_json }}
}
{% endif %}
{% if not matrix_riot_e2ee_default %},
{% if not matrix_client_element_e2ee_default %},
"im.vector.riot.e2ee": {
"default": false
}


Загрузка…
Отмена
Сохранить