summary refs log tree commit diff
path: root/synapse/res/templates/room.txt
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-10-19 09:12:39 -0400
committerGitHub <noreply@github.com>2020-10-19 09:12:39 -0400
commitc356b4bf422430cd5769c9bf90756fca2efd8451 (patch)
tree73e1fd92e068839a12839b9a214df05adbf02c7c /synapse/res/templates/room.txt
parentSupport running synmark on macOS. (#8578) (diff)
downloadsynapse-c356b4bf422430cd5769c9bf90756fca2efd8451.tar.xz
Include a simple message in email notifications that include encrypted content (#8545)
Diffstat (limited to '')
-rw-r--r--synapse/res/templates/room.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/synapse/res/templates/room.txt b/synapse/res/templates/room.txt
index 84648c710e..df841e9e6f 100644
--- a/synapse/res/templates/room.txt
+++ b/synapse/res/templates/room.txt
@@ -1,9 +1,9 @@
 {{ room.title }}
 
-{% if room.invite %}
+{%- if room.invite %}
     You've been invited, join at {{ room.link }}
-{% else %}
-    {% for notif in room.notifs %}
-        {% include 'notif.txt' with context %}
-    {% endfor %}
-{% endif %}
+{%- else %}
+    {%- for notif in room.notifs %}
+        {%- include 'notif.txt' with context %}
+    {%- endfor %}
+{%- endif %}