mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04: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