Parcourir la source

Add support for telling Riot to not default to E2EE

Related to https://github.com/vector-im/riot-web/pull/13914
pull/549/head
Slavi Pantaleev il y a 5 ans
Parent
révision
5c5f1c6ab9
2 fichiers modifiés avec 10 ajouts et 0 suppressions
  1. +5
    -0
      roles/matrix-base/defaults/main.yml
  2. +5
    -0
      roles/matrix-base/templates/static-files/well-known/matrix-client.j2

+ 5
- 0
roles/matrix-base/defaults/main.yml Voir le fichier

@@ -56,6 +56,11 @@ matrix_integration_manager_ui_url: ~
# See: https://github.com/vector-im/riot-web/blob/develop/docs/jitsi.md#configuring-riot-to-use-your-self-hosted-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: '' matrix_riot_jitsi_preferredDomain: ''


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

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




+ 5
- 0
roles/matrix-base/templates/static-files/well-known/matrix-client.j2 Voir le fichier

@@ -23,4 +23,9 @@
"preferredDomain": {{ matrix_riot_jitsi_preferredDomain|to_json }} "preferredDomain": {{ matrix_riot_jitsi_preferredDomain|to_json }}
} }
{% endif %} {% endif %}
{% if not matrix_riot_e2ee_default %},
"im.vector.riot.e2ee": {
"default": false
}
{% endif %}
} }

Chargement…
Annuler
Enregistrer