fix indentation, updated to proposed changes from Slavi: no more ifdef
This commit is contained in:
parent
4cfa112755
commit
8f7e21892d
|
@ -28,25 +28,11 @@
|
|||
{% 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 %},
|
||||
"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 }}
|
||||
{% endif %}
|
||||
},
|
||||
"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 a new issue