mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-22 07:04:59 -05:00
Lint
This commit is contained in:
parent
bf33d5c457
commit
367e9e6e9e
@ -536,7 +536,7 @@ class ServerConfig(Config):
|
||||
# user on the homeserver.
|
||||
users_new_default_push_rules = (
|
||||
config.get("users_new_default_push_rules") or []
|
||||
)
|
||||
) # type: list
|
||||
if not isinstance(users_new_default_push_rules, list):
|
||||
raise ConfigError("'users_new_default_push_rules' must be a list")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user