summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-06-02 17:38:41 +0100
committerDavid Baker <dave@matrix.org>2016-06-02 17:38:41 +0100
commit745ddb4dd04d0346f27f65a1e5508900b58e658a (patch)
tree7c275a8dad3e72500567b4240141fcd3a738f6ba /synapse
parentWorking unsubscribe links going straight to the HS (diff)
downloadsynapse-745ddb4dd04d0346f27f65a1e5508900b58e658a.tar.xz
peppate
Diffstat (limited to '')
-rw-r--r--synapse/push/mailer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py
index 60d3700afa..3c9a66008d 100644
--- a/synapse/push/mailer.py
+++ b/synapse/push/mailer.py
@@ -161,7 +161,9 @@ class Mailer(object):
 
         template_vars = {
             "user_display_name": user_display_name,
-            "unsubscribe_link": self.make_unsubscribe_link(user_id, app_id, email_address),
+            "unsubscribe_link": self.make_unsubscribe_link(
+                user_id, app_id, email_address
+            ),
             "summary_text": summary_text,
             "app_name": self.app_name,
             "rooms": rooms,