From a4ae6f77c7837871f60d4d46d0b3fdd4a6e9ee66 Mon Sep 17 00:00:00 2001 From: Noah Date: Tue, 16 Apr 2024 10:03:45 -0500 Subject: [PATCH] Log Matrix messages (Even if -M is specified) (fix #45) --- matrix.go | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix.go b/matrix.go index e3ec386..9348d2a 100644 --- a/matrix.go +++ b/matrix.go @@ -34,6 +34,7 @@ var MatrixOut []MatrixMessage // sendMessage sends a message through Matrix func sendMessage(msg MatrixMessage) { + log.Print(msg.text) MatrixOut = append(MatrixOut, msg) }