diff --git a/res/templates/room.txt b/res/templates/room.txt index 999d0ae60..84648c710 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 %}