summary refs log tree commit diff
path: root/synapse/config/account_validity.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-08-17 14:35:20 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-08-17 14:35:20 +0100
commit18572fddcc5bbcecabdcfbc69c8e8d4a1e9a1a1b (patch)
treedb096f4421fc900d6b98f41e7a1401982cd83171 /synapse/config/account_validity.py
parentHandle string read receipt data (#10606) (diff)
parentRemove the unused public_room_list_stream (#10565) (diff)
downloadsynapse-18572fddcc5bbcecabdcfbc69c8e8d4a1e9a1a1b.tar.xz
Merge branch 'release-v1.41' into matrix-org-hotfixes
Diffstat (limited to 'synapse/config/account_validity.py')
-rw-r--r--synapse/config/account_validity.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/config/account_validity.py b/synapse/config/account_validity.py

index 6be4eafe55..52e63ab1f6 100644 --- a/synapse/config/account_validity.py +++ b/synapse/config/account_validity.py
@@ -78,6 +78,11 @@ class AccountValidityConfig(Config): ) # Read and store template content + custom_template_directories = ( + self.root.server.custom_template_directory, + account_validity_template_dir, + ) + ( self.account_validity_account_renewed_template, self.account_validity_account_previously_renewed_template, @@ -88,5 +93,5 @@ class AccountValidityConfig(Config): "account_previously_renewed.html", invalid_token_template_filename, ], - account_validity_template_dir, + (td for td in custom_template_directories if td), )