summary refs log tree commit diff
path: root/synapse/push/mailer.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-06-03 16:39:50 +0100
committerDavid Baker <dave@matrix.org>2016-06-03 16:39:50 +0100
commit72c4d482e99d30fe96e2b24389629abe5b572626 (patch)
treef923070e095f216b1c13f10ce1c6a22b4c8e9e48 /synapse/push/mailer.py
parentOops, we're using the dict form (diff)
downloadsynapse-72c4d482e99d30fe96e2b24389629abe5b572626.tar.xz
3rd time lucky: we'd already calculated it above
Diffstat (limited to 'synapse/push/mailer.py')
-rw-r--r--synapse/push/mailer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py
index 011bc4d2b1..e5c3929cd7 100644
--- a/synapse/push/mailer.py
+++ b/synapse/push/mailer.py
@@ -186,9 +186,7 @@ class Mailer(object):
 
         multipart_msg = MIMEMultipart('alternative')
         multipart_msg['Subject'] = "[%s] %s" % (self.app_name, summary_text)
-        multipart_msg['From'] = self.hs.config.email_notif_from % {
-            "app": self.app_name
-        }
+        multipart_msg['From'] = from_string
         multipart_msg['To'] = email_address
         multipart_msg['Date'] = email.utils.formatdate()
         multipart_msg['Message-ID'] = email.utils.make_msgid()