diff --git a/res/templates-vector/notif_mail.txt b/res/templates-vector/notif_mail.txt index 24843042a..dec2e5960 100644 --- a/res/templates-vector/notif_mail.txt +++ b/res/templates-vector/notif_mail.txt @@ -1,6 +1,6 @@ Hi {{ user_display_name }}, -{{ summary_text }} +{{ summary_text|replace("%app%", "Vector") }} {% for room in rooms %} {% include 'room.txt' with context %} diff --git a/res/templates/notif_mail.html b/res/templates/notif_mail.html index cc3573e65..0290fdea0 100644 --- a/res/templates/notif_mail.html +++ b/res/templates/notif_mail.html @@ -8,7 +8,7 @@
Hi {{ user_display_name }},
-
{{ summary_text }}
+
{{ summary_text|replace("%app%", "Matrix") }}
{% for room in rooms %} {% include 'room.html' with context %} diff --git a/res/templates/notif_mail.txt b/res/templates/notif_mail.txt index 24843042a..5d5a8442f 100644 --- a/res/templates/notif_mail.txt +++ b/res/templates/notif_mail.txt @@ -1,6 +1,6 @@ Hi {{ user_display_name }}, -{{ summary_text }} +{{ summary_text|replace("%app%", "Matrix") }} {% for room in rooms %} {% include 'room.txt' with context %}