Ver código fonte

Prevent double-quotes around default room version

Using `|to_json` on a string is expected to correctly wrap it in quotes (e.g. `"4"`).
Wrapping it explicitly in double-quotes results in undesirable double-quoting (`""4""`).
pull/201/head
Slavi Pantaleev 6 anos atrás
committed by GitHub
pai
commit
f4574961c7
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 1
- 1
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 Ver arquivo

@@ -82,7 +82,7 @@ use_presence: {{ matrix_synapse_use_presence|to_json }}
# For example, for room version 1, default_room_version should be set # For example, for room version 1, default_room_version should be set
# to "1". # to "1".
# #
default_room_version: "{{ matrix_synapse_default_room_version|to_json }}"
default_room_version: {{ matrix_synapse_default_room_version|to_json }}


# The GC threshold parameters to pass to `gc.set_threshold`, if defined # The GC threshold parameters to pass to `gc.set_threshold`, if defined
# #


Carregando…
Cancelar
Salvar