mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 21:19:23 -05:00
Incorporate review
This commit is contained in:
parent
118a9eafb3
commit
bf33d5c457
@ -534,10 +534,10 @@ class ServerConfig(Config):
|
||||
# not included in the sample configuration file on purpose as it's a temporary
|
||||
# hack, so that some users can trial the new defaults without impacting every
|
||||
# user on the homeserver.
|
||||
self.users_new_default_push_rules = (
|
||||
users_new_default_push_rules = (
|
||||
config.get("users_new_default_push_rules") or []
|
||||
)
|
||||
if not isinstance(self.users_new_default_push_rules, list):
|
||||
if not isinstance(users_new_default_push_rules, list):
|
||||
raise ConfigError("'users_new_default_push_rules' must be a list")
|
||||
|
||||
# Turn the list into a set to improve lookup speed.
|
||||
|
Loading…
Reference in New Issue
Block a user