瀏覽代碼

Explicitly serialize matrix_synapse_app_service_config_files

Attempt to fix #192 (Github Issue), potential regression since
70487061f4.

Serializing as JSON/YAML explicitly is much better than relying on
magic (well, Python serialization being valid YAML..).
It seems like Python may prefix strings with `u` sometimes (Python 3?),
which causes Python serialization to not be compatible with YAML.
pull/194/head
Slavi Pantaleev 7 年之前
父節點
當前提交
2982b03809
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 1
- 1
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 查看文件

@@ -893,7 +893,7 @@ report_stats: {{ matrix_synapse_report_stats|to_json }}


# A list of application service config files to use # A list of application service config files to use
# #
app_service_config_files: {{ matrix_synapse_app_service_config_files }}
app_service_config_files: {{ matrix_synapse_app_service_config_files|to_json }}


# Uncomment to enable tracking of application service IP addresses. Implicitly # Uncomment to enable tracking of application service IP addresses. Implicitly
# enables MAU tracking for application service users. # enables MAU tracking for application service users.


Loading…
取消
儲存