diff options
author | Matthew Hodgson <matthew@matrix.org> | 2016-05-05 15:55:44 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2016-05-05 15:55:44 +0100 |
commit | 53ca739f1f3a61f8605dac3f3ab9540dadda0178 (patch) | |
tree | ac9f19815fcdb275d0a029282c926aeb987e70b9 /synapse/push/mailer.py | |
parent | fix layout; handle app naming in synapse, not jinja (diff) | |
download | synapse-53ca739f1f3a61f8605dac3f3ab9540dadda0178.tar.xz |
better mail subject lines
Diffstat (limited to 'synapse/push/mailer.py')
-rw-r--r-- | synapse/push/mailer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py index 497905d811..f60ac94a83 100644 --- a/synapse/push/mailer.py +++ b/synapse/push/mailer.py @@ -156,7 +156,7 @@ class Mailer(object): text_part = MIMEText(plain_text, "plain", "utf8") multipart_msg = MIMEMultipart('alternative') - multipart_msg['Subject'] = "New Matrix Notifications" + multipart_msg['Subject'] = "[%s] %s" % (self.app_name, summary_text) multipart_msg['From'] = self.hs.config.email_notif_from multipart_msg['To'] = email_address multipart_msg['Date'] = email.utils.formatdate() |