fix indentation, updated to proposed changes from Slavi: no more ifdef

This commit is contained in:
Tobias Küchel 2020-10-16 08:47:37 +02:00
parent 4cfa112755
commit 8f7e21892d

View File

@ -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 }}
}
}