summary refs log tree commit diff
path: root/res/templates
diff options
context:
space:
mode:
Diffstat (limited to 'res/templates')
-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 %}