Don't log when checking for queued messages #46
This commit is contained in:
parent
dea25cd2f9
commit
70fffcd25b
@ -101,7 +101,6 @@ func initMatrix() {
|
|||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
for range time.Tick(time.Second * 2) {
|
for range time.Tick(time.Second * 2) {
|
||||||
log.Printf("Scanning for queued messages...")
|
|
||||||
if len(MatrixOut) > 0 {
|
if len(MatrixOut) > 0 {
|
||||||
text := ""
|
text := ""
|
||||||
for i, msg := range MatrixOut {
|
for i, msg := range MatrixOut {
|
||||||
@ -120,7 +119,6 @@ func initMatrix() {
|
|||||||
log.Printf("[Matrix] ERROR : %s", err)
|
log.Printf("[Matrix] ERROR : %s", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
log.Print("[Matrix] Sent queued message(s) successfully.")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user