summary refs log tree commit diff
path: root/synapse/config/emailconfig.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-29 13:56:21 +0100
committerDavid Baker <dave@matrix.org>2016-04-29 13:56:21 +0100
commit40d40e470d9ff047f4255a93e40af8a9870b43cc (patch)
tree98d988df1773774fda74f55a090bd088d8c43378 /synapse/config/emailconfig.py
parentAdd an email pusher for new users (diff)
downloadsynapse-40d40e470d9ff047f4255a93e40af8a9870b43cc.tar.xz
Send mail notifs with a plaintext part too
Diffstat (limited to '')
-rw-r--r--synapse/config/emailconfig.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/emailconfig.py b/synapse/config/emailconfig.py
index 06b076e3f9..b7be67f173 100644
--- a/synapse/config/emailconfig.py
+++ b/synapse/config/emailconfig.py
@@ -38,6 +38,7 @@ class EmailConfig(Config):
                 "notif_from",
                 "template_dir",
                 "notif_template_html",
+                "notif_template_text",
             ]
 
             missing = []
@@ -61,6 +62,7 @@ class EmailConfig(Config):
             self.email_notif_from = email_config["notif_from"]
             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"]
 
             # make sure it's valid
             parsed = email.utils.parseaddr(self.email_notif_from)