summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2016-06-21 13:48:54 +0100
committerGitHub <noreply@github.com>2016-06-21 13:48:54 +0100
commit0126a5d60a19439ad2ed39fab09fc8d61bc868fb (patch)
tree220aa6466cb53fb0146581703fd111f3e32770d4
parentMerge pull request #879 from matrix-org/erikj/linearize_fed_server (diff)
parentFix substitution failure in mail template (diff)
downloadsynapse-0126a5d60a19439ad2ed39fab09fc8d61bc868fb.tar.xz
Merge pull request #887 from matrix-org/dbkr/notif_template_subs_fail
Fix substitution failure in mail template
-rw-r--r--res/templates/notif_mail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/templates/notif_mail.html b/res/templates/notif_mail.html
index 8aee68b591..535bea764d 100644
--- a/res/templates/notif_mail.html
+++ b/res/templates/notif_mail.html
@@ -36,7 +36,7 @@
                         <div class="debug">
                             Sending email at {{ reason.now|format_ts("%c") }} due to activity in room {{ reason.room_name }} because
                             an event was received at {{ reason.received_at|format_ts("%c") }}
-                            which is more than {{ "%.1f"|format(reason.delay_before_mail_ms / (60*1000)) }} (delay_before_mail_ms) mins ago,
+                            which is more than {{ "%.1f"|format(reason.delay_before_mail_ms / (60*1000)) }} ({{ reason.delay_before_mail_ms }}) mins ago,
                             {% if reason.last_sent_ts %}
                                 and the last time we sent a mail for this room was {{ reason.last_sent_ts|format_ts("%c") }},
                                 which is more than {{ "%.1f"|format(reason.throttle_ms / (60*1000)) }} (current throttle_ms) mins ago.