This commit is contained in:
Brendan Abolivier 2020-08-06 17:57:58 +01:00
parent bf33d5c457
commit 367e9e6e9e
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -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")