mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-15 17:57:59 -05:00
Refactor HomeserverConfig so it can be typechecked (#6137)
This commit is contained in:
parent
def5413480
commit
f743108a94
37 changed files with 415 additions and 94 deletions
|
|
@ -18,6 +18,8 @@ from ._base import Config
|
|||
|
||||
|
||||
class PushConfig(Config):
|
||||
section = "push"
|
||||
|
||||
def read_config(self, config, **kwargs):
|
||||
push_config = config.get("push", {})
|
||||
self.push_include_content = push_config.get("include_content", True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue