diff options
author | Matthew Hodgson <matthew@matrix.org> | 2016-05-05 01:59:20 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2016-05-05 02:00:33 +0100 |
commit | c64d5fc66cdadaecd98de8ce58318c022fa3e2b2 (patch) | |
tree | f6850a4707ca9770f2151b6eaf9de1fe0abc2870 | |
parent | First cut at Vector-branded mail templates (diff) | |
download | synapse-c64d5fc66cdadaecd98de8ce58318c022fa3e2b2.tar.xz |
fix room.txt
-rw-r--r-- | res/templates/room.txt | 11 |
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 %} |