summary refs log tree commit diff
path: root/res
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2016-05-05 01:59:20 +0100
committerMatthew Hodgson <matthew@matrix.org>2016-05-05 02:00:33 +0100
commitc64d5fc66cdadaecd98de8ce58318c022fa3e2b2 (patch)
treef6850a4707ca9770f2151b6eaf9de1fe0abc2870 /res
parentFirst cut at Vector-branded mail templates (diff)
downloadsynapse-c64d5fc66cdadaecd98de8ce58318c022fa3e2b2.tar.xz
fix room.txt
Diffstat (limited to 'res')
-rw-r--r--res/templates/room.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/res/templates/room.txt b/res/templates/room.txt
index 999d0ae60a..84648c710e 100644
--- a/res/templates/room.txt
+++ b/res/templates/room.txt
@@ -1,6 +1,9 @@
 {{ room.title }}
-You've been invited, join at {{ room.link }}
 
-{% for notif in room.notifs %}
-{% include 'notif.txt' with context %}
-{% endfor %}
+{% if room.invite %}
+    You've been invited, join at {{ room.link }}
+{% else %}
+    {% for notif in room.notifs %}
+        {% include 'notif.txt' with context %}
+    {% endfor %}
+{% endif %}