diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-10-19 09:12:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 09:12:39 -0400 |
commit | c356b4bf422430cd5769c9bf90756fca2efd8451 (patch) | |
tree | 73e1fd92e068839a12839b9a214df05adbf02c7c /synapse/res/templates/room.txt | |
parent | Support running synmark on macOS. (#8578) (diff) | |
download | synapse-c356b4bf422430cd5769c9bf90756fca2efd8451.tar.xz |
Include a simple message in email notifications that include encrypted content (#8545)
Diffstat (limited to '')
-rw-r--r-- | synapse/res/templates/room.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/synapse/res/templates/room.txt b/synapse/res/templates/room.txt index 84648c710e..df841e9e6f 100644 --- a/synapse/res/templates/room.txt +++ b/synapse/res/templates/room.txt @@ -1,9 +1,9 @@ {{ room.title }} -{% if room.invite %} +{%- if room.invite %} You've been invited, join at {{ room.link }} -{% else %} - {% for notif in room.notifs %} - {% include 'notif.txt' with context %} - {% endfor %} -{% endif %} +{%- else %} + {%- for notif in room.notifs %} + {%- include 'notif.txt' with context %} + {%- endfor %} +{%- endif %} |