Skip to content

Commit

Permalink
Incorporate review
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Aug 6, 2020
1 parent 118a9ea commit bf33d5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/config/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,10 +534,10 @@ class LimitRemoteRoomsConfig(object):
# 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.
Expand Down

0 comments on commit bf33d5c

Please sign in to comment.