diff --git a/res/templates/notif.html b/res/templates/notif.html index bdff2786f..70f565535 100644 --- a/res/templates/notif.html +++ b/res/templates/notif.html @@ -18,13 +18,11 @@
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py index e6554dc7f..60a4878a3 100644 --- a/synapse/push/mailer.py +++ b/synapse/push/mailer.py @@ -222,8 +222,9 @@ class Mailer(object): self.add_text_message_vars(ret, event) elif event.content["msgtype"] == "m.image": self.add_image_message_vars(ret, event) - else: - return None + + if "body" in event.content: + ret["body_text_plain"] = event.content["body"] return ret