diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-09-15 08:34:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 08:34:52 -0400 |
commit | 8c7a531e277f98ac6b7981b9738649f3a70feb94 (patch) | |
tree | a6e0088d17ee9c12218d3c21bc163f5cc7231848 /synapse/push/pusher.py | |
parent | Verify `?chunk_id` actually corresponds to an insertion event that exists (MS... (diff) | |
download | synapse-8c7a531e277f98ac6b7981b9738649f3a70feb94.tar.xz |
Use direct references for some configuration variables (part 2) (#10812)
Diffstat (limited to 'synapse/push/pusher.py')
-rw-r--r-- | synapse/push/pusher.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/push/pusher.py b/synapse/push/pusher.py index 021275437c..29ed346d37 100644 --- a/synapse/push/pusher.py +++ b/synapse/push/pusher.py @@ -35,12 +35,12 @@ class PusherFactory: "http": HttpPusher } - logger.info("email enable notifs: %r", hs.config.email_enable_notifs) - if hs.config.email_enable_notifs: + logger.info("email enable notifs: %r", hs.config.email.email_enable_notifs) + if hs.config.email.email_enable_notifs: self.mailers: Dict[str, Mailer] = {} - self._notif_template_html = hs.config.email_notif_template_html - self._notif_template_text = hs.config.email_notif_template_text + self._notif_template_html = hs.config.email.email_notif_template_html + self._notif_template_text = hs.config.email.email_notif_template_text self.pusher_types["email"] = self._create_email_pusher |