diff options
author | David Baker <dave@matrix.org> | 2016-04-28 11:49:36 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-04-28 11:49:36 +0100 |
commit | ebbabc4986371c83d1d2659d10b27caad9b47951 (patch) | |
tree | b21c1e6198779608514d660958f469a7bab96715 /res | |
parent | Add the jinja template for individual notifs (diff) | |
download | synapse-ebbabc4986371c83d1d2659d10b27caad9b47951.tar.xz |
Handle room invites in email notifs
Diffstat (limited to 'res')
-rw-r--r-- | res/templates/room.html | 14 |
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> |