Log Matrix messages (Even if -M is specified) (fix #45)
This commit is contained in:
parent
476ac5a175
commit
a4ae6f77c7
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user