summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-08-06 17:52:34 +0100
committerBrendan Abolivier <babolivier@matrix.org>2020-08-06 17:52:34 +0100
commitbf33d5c457643c0b69ebcc26401b7f3090a09e6c (patch)
tree6b3d230ce4085c199651d2c607f633db3abb665c /synapse/config/server.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into babolivier/new_p... (diff)
downloadsynapse-bf33d5c457643c0b69ebcc26401b7f3090a09e6c.tar.xz
Incorporate review
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 00fa07c225..22673be9dd 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -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.