mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:46:08 -04:00
Add missing type hints to config base classes (#11377)
This commit is contained in:
parent
7cebaf9644
commit
55669bd3de
13 changed files with 184 additions and 109 deletions
|
@ -1014,7 +1014,7 @@ class ModuleApi:
|
|||
A list containing the loaded templates, with the orders matching the one of
|
||||
the filenames parameter.
|
||||
"""
|
||||
return self._hs.config.read_templates(
|
||||
return self._hs.config.server.read_templates(
|
||||
filenames,
|
||||
(td for td in (self.custom_template_dir, custom_template_directory) if td),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue