summary refs log tree commit diff
path: root/res/templates/room.html
diff options
context:
space:
mode:
Diffstat (limited to 'res/templates/room.html')
-rw-r--r--res/templates/room.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/res/templates/room.html b/res/templates/room.html
index f369575b98..6c68ee1fdc 100644
--- a/res/templates/room.html
+++ b/res/templates/room.html
@@ -13,9 +13,13 @@
             {% endif %}
         {% endif %}
     </div>
-    <div>
-        {% for notif in room.notifs %}
-            {% include 'notif.html' with context %}
-        {% endfor %}
-    </div>
+    {% if room.invite %}
+        <a href="{{ room.link }}">Join the conversation.</a>
+    {% else %}
+        <div>
+            {% for notif in room.notifs %}
+                {% include 'notif.html' with context %}
+            {% endfor %}
+        </div>
+    {% endif %}
 </div>