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 %}
|
{% endif %}
|
||||||
,
|
,
|
||||||
"io.element.e2ee": {
|
"io.element.e2ee": {
|
||||||
{% if not matrix_client_element_e2ee_default %}
|
"default": {{ matrix_client_element_e2ee_default|to_json }},
|
||||||
"default": false,
|
"secure_backup_required": {{ matrix_client_element_e2ee_backup_required|to_json }},
|
||||||
{% else %}
|
"secure_backup_setup_methods": {{ matrix_client_element_e2ee_backup_methods|to_json }}
|
||||||
"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 %}
|
|
||||||
},
|
},
|
||||||
"im.vector.riot.e2ee": {
|
"im.vector.riot.e2ee": {
|
||||||
{% if not matrix_client_element_e2ee_default %}
|
"default": {{ matrix_client_element_e2ee_default|to_json }}
|
||||||
"default": false
|
|
||||||
{% else %}
|
|
||||||
"default": true
|
|
||||||
{% endif %}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue