From 2982b038091bc195556d275eca21dc2345d28c7b Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 30 May 2019 09:42:08 +0300 Subject: [PATCH] Explicitly serialize matrix_synapse_app_service_config_files Attempt to fix #192 (Github Issue), potential regression since 70487061f4aa111. 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. --- roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 b/roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 index c51a60a01..9e7777fda 100644 --- a/roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 +++ b/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 # -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 # enables MAU tracking for application service users.