Lint
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