Log Matrix messages (Even if -M is specified) (fix #45)

This commit is contained in:
Noah 2024-04-16 10:03:45 -05:00
parent 476ac5a175
commit a4ae6f77c7

View File

@ -34,6 +34,7 @@ var MatrixOut []MatrixMessage
// sendMessage sends a message through Matrix // sendMessage sends a message through Matrix
func sendMessage(msg MatrixMessage) { func sendMessage(msg MatrixMessage) {
log.Print(msg.text)
MatrixOut = append(MatrixOut, msg) MatrixOut = append(MatrixOut, msg)
} }