From 103f51d867dc3966e44d79e949e78380efef5e2d Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Wed, 20 Apr 2022 12:03:03 -0400 Subject: Fix Jinja templating error when generating thumbnail URLs. (#12510) scale is meant to be a constant string, not refer to a variable. --- synapse/res/templates/notif.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse') diff --git a/synapse/res/templates/notif.html b/synapse/res/templates/notif.html index 0aaef97df8..7d86681fed 100644 --- a/synapse/res/templates/notif.html +++ b/synapse/res/templates/notif.html @@ -30,7 +30,7 @@ {%- elif message.msgtype == "m.notice" %} {{ message.body_text_html }} {%- elif message.msgtype == "m.image" and message.image_url %} - + {%- elif message.msgtype == "m.file" %} {{ message.body_text_plain }} {%- else %} -- cgit 1.4.1