mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 10:04:46 +08:00
fix indentation, updated to proposed changes from Slavi: no more ifdef
This commit is contained in:
parent
4cfa112755
commit
8f7e21892d
@ -27,26 +27,12 @@
|
||||
}
|
||||
{% endif %}
|
||||
,
|
||||
"io.element.e2ee": {
|
||||
{% if not matrix_client_element_e2ee_default %}
|
||||
"default": false,
|
||||
{% else %}
|
||||
"default": true,
|
||||
{% endif %}
|
||||
{% if matrix_client_element_e2ee_backup_required %}
|
||||
"secure_backup_required": true
|
||||
{% else %}
|
||||
"secure_backup_required": false
|
||||
{% endif %}
|
||||
{% if matrix_client_element_e2ee_backup_methods %},
|
||||
"secure_backup_setup_methods": {{ matrix_client_element_e2ee_backup_methods|to_json }}
|
||||
{% endif %}
|
||||
"io.element.e2ee": {
|
||||
"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 }}
|
||||
},
|
||||
"im.vector.riot.e2ee": {
|
||||
{% if not matrix_client_element_e2ee_default %}
|
||||
"default": false
|
||||
{% else %}
|
||||
"default": true
|
||||
{% endif %}
|
||||
"default": {{ matrix_client_element_e2ee_default|to_json }}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user