summary refs log tree commit diff
path: root/synapse/config/emailconfig.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-05-10 14:39:16 +0200
committerDavid Baker <dave@matrix.org>2016-05-10 14:39:16 +0200
commitc00b484eff179257f34eeb48be98bb9435598f5e (patch)
treedf8a92459e7310470196189e06c0d455fdd4a85a /synapse/config/emailconfig.py
parentAdd config option to not send email notifs for new users (diff)
downloadsynapse-c00b484eff179257f34eeb48be98bb9435598f5e.tar.xz
More consistent config naming
Diffstat (limited to 'synapse/config/emailconfig.py')
-rw-r--r--synapse/config/emailconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/emailconfig.py b/synapse/config/emailconfig.py
index b239619c9e..90bdd08f00 100644
--- a/synapse/config/emailconfig.py
+++ b/synapse/config/emailconfig.py
@@ -65,7 +65,7 @@ class EmailConfig(Config):
             self.email_template_dir = email_config["template_dir"]
             self.email_notif_template_html = email_config["notif_template_html"]
             self.email_notif_template_text = email_config["notif_template_text"]
-            self.email_notifs_for_new_users = email_config.get(
+            self.email_notif_for_new_users = email_config.get(
                 "notif_for_new_users", True
             )
             if "app_name" in email_config: