diff options
author | Matthew Hodgson <matthew@matrix.org> | 2016-06-02 17:21:12 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2016-06-02 17:21:12 +0100 |
commit | 2675c1e40ebc3392ce719ac2304b97e98c7fefb4 (patch) | |
tree | 93e05f0d9aa79f50b6aeeda68d0fd5e16a139915 | |
parent | Store the typing users as user_id strings. (#819) (diff) | |
download | synapse-2675c1e40ebc3392ce719ac2304b97e98c7fefb4.tar.xz |
add some branding debugging
-rw-r--r-- | synapse/push/mailer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py index 0e9d8ccb53..944f3b481d 100644 --- a/synapse/push/mailer.py +++ b/synapse/push/mailer.py @@ -84,6 +84,7 @@ class Mailer(object): self.state_handler = self.hs.get_state_handler() loader = jinja2.FileSystemLoader(self.hs.config.email_template_dir) self.app_name = app_name + logger.info("Created Mailer for app_name %s" % app_name) env = jinja2.Environment(loader=loader) env.filters["format_ts"] = format_ts_filter env.filters["mxc_to_http"] = self.mxc_to_http_filter |