From 7219ec7c7aec963a3b208449f22e456273b683b2 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 15 Oct 2020 12:50:23 -0400 Subject: [PATCH] Update message for invalid events. --- synapse/res/templates/notif.html | 2 +- synapse/res/templates/notif.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/res/templates/notif.html b/synapse/res/templates/notif.html index 8f1388cc68..6d76064d13 100644 --- a/synapse/res/templates/notif.html +++ b/synapse/res/templates/notif.html @@ -34,7 +34,7 @@ {%- elif message.msgtype == "m.file" %} {{ message.body_text_plain }} {%- else %} - An unknown event. + A message with unrecognised content. {%- endif %} {%- endif %} diff --git a/synapse/res/templates/notif.txt b/synapse/res/templates/notif.txt index 0ce9f9e52a..1ee7da3c50 100644 --- a/synapse/res/templates/notif.txt +++ b/synapse/res/templates/notif.txt @@ -14,7 +14,7 @@ An encrypted message. {%- elif message.msgtype == "m.file" %} {{ message.body_text_plain }} {%- else %} -An unknown event. +A message with unrecognised content. {%- endif %} {%- endif %} {%- endfor %}