Browse Source

e2ee_backup: rename variables to be consistent with naming scheme

pull/679/head
Tobias Küchel 5 years ago
parent
commit
1cf5b1d80f
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      roles/matrix-base/defaults/main.yml
  2. +2
    -2
      roles/matrix-base/templates/static-files/well-known/matrix-client.j2

+ 2
- 2
roles/matrix-base/defaults/main.yml View File

@@ -70,12 +70,12 @@ matrix_client_element_e2ee_default: true
# Controls whether Element should require a secure backup set up before Element can be used. # Controls whether Element should require a secure backup set up before Element can be used.
# Setting this to true will update `/.well-known/matrix/client` and tell Element require a secure backup. # Setting this to true will update `/.well-known/matrix/client` and tell Element require a secure backup.
# See: https://github.com/vector-im/element-web/blob/develop/docs/e2ee.md # See: https://github.com/vector-im/element-web/blob/develop/docs/e2ee.md
matrix_client_element_e2ee_backup_required: false
matrix_client_element_e2ee_secure_backup_required: false


# Controls which backup methods from ["key", "passphrase"] should be used, both is the default. # Controls which backup methods from ["key", "passphrase"] should be used, both is the default.
# Setting this to other then empty will update `/.well-known/matrix/client` and tell Element which method to use # Setting this to other then empty will update `/.well-known/matrix/client` and tell Element which method to use
# See: https://github.com/vector-im/element-web/blob/develop/docs/e2ee.md # See: https://github.com/vector-im/element-web/blob/develop/docs/e2ee.md
matrix_client_element_e2ee_backup_methods: []
matrix_client_element_e2ee_secure_backup_setup_methods: []


# 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"


+ 2
- 2
roles/matrix-base/templates/static-files/well-known/matrix-client.j2 View File

@@ -29,8 +29,8 @@
, ,
"io.element.e2ee": { "io.element.e2ee": {
"default": {{ matrix_client_element_e2ee_default|to_json }}, "default": {{ matrix_client_element_e2ee_default|to_json }},
"secure_backup_required": {{ matrix_client_element_e2ee_backup_required|to_json }},
"secure_backup_setup_methods": {{ matrix_client_element_e2ee_backup_methods|to_json }}
"secure_backup_required": {{ matrix_client_element_e2ee_secure_backup_required|to_json }},
"secure_backup_setup_methods": {{ matrix_client_element_e2ee_secure_backup_setup_methods|to_json }}
}, },
"im.vector.riot.e2ee": { "im.vector.riot.e2ee": {
"default": {{ matrix_client_element_e2ee_default|to_json }} "default": {{ matrix_client_element_e2ee_default|to_json }}


Loading…
Cancel
Save