From 719bd2dfd4df57ebdf215909ececc79955335fa6 Mon Sep 17 00:00:00 2001 From: Lars Seipel <ls@slrz.net> Date: Sun, 1 Nov 2020 07:00:11 +0100 Subject: [PATCH] slighly adjust notification message format This'll have to do until we get around to support formatted message bodies. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a5fcc7a..1485d07 100644 --- a/main.go +++ b/main.go @@ -113,7 +113,7 @@ type notifier struct { } func (n *notifier) notify(m chatMessage) error { - const notificationFmt = "Incoming support message from %s (%s):\n> %s" + const notificationFmt = "# Incoming support message from %s (%s):\n\n> %s\n" msg := fmt.Sprintf(notificationFmt, m.user, m.displayName, m.message) _, err := n.matrix.SendNotice(n.roomID, msg) return err -- GitLab