Handle room invites in email notifs

This commit is contained in:
David Baker 2016-04-28 11:49:36 +01:00
parent 5367708236
commit ebbabc4986
3 changed files with 42 additions and 13 deletions

View file

@ -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>