summaryrefslogtreecommitdiff
path: root/synapse/push/pusher.py
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2019-05-22 22:41:35 +0100
committerAndrej Shadura <andrewsh@debian.org>2019-05-22 22:41:35 +0100
commita5a75eb24a1f5c0ea62cd1ea507863ae03f89c16 (patch)
tree2adb4044eb388d7b7e6f01aec57dfe61229542c8 /synapse/push/pusher.py
parent483b4888dc553a576baf41dc18682a8e931abded (diff)
New upstream version 0.99.5.1
Diffstat (limited to 'synapse/push/pusher.py')
-rw-r--r--synapse/push/pusher.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/push/pusher.py b/synapse/push/pusher.py
index b33f2a35..14bc7823 100644
--- a/synapse/push/pusher.py
+++ b/synapse/push/pusher.py
@@ -44,7 +44,11 @@ class PusherFactory(object):
if hs.config.email_enable_notifs:
self.mailers = {} # app_name -> Mailer
- templates = load_jinja2_templates(hs.config)
+ templates = load_jinja2_templates(
+ config=hs.config,
+ template_html_name=hs.config.email_notif_template_html,
+ template_text_name=hs.config.email_notif_template_text,
+ )
self.notif_template_html, self.notif_template_text = templates
self.pusher_types["email"] = self._create_email_pusher