From 9574dc10b6b83f18f47f24955c52ca67e337297a Mon Sep 17 00:00:00 2001 From: Matthieu Lalonde Date: Thu, 28 Jan 2021 22:08:09 +0000 Subject: [PATCH] ... --- pkg/bot/bot.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/bot/bot.go b/pkg/bot/bot.go index 0cd83cb..590dbe0 100644 --- a/pkg/bot/bot.go +++ b/pkg/bot/bot.go @@ -221,6 +221,7 @@ func (b *Type) periodicTicker() { log.Println("Checking for conversations") pm, _ := b.avr.FetchPendingConversations() if len(pm) > 0 { + log.Printf("Found %d new messages\n", len(pm)) b.handleNewPendingConversation(pm) } checkConversations.Reset(tickerIntervalCheckIncomingConversations * time.Minute)