From cce3c11f5c0bb09e61ce06894ff2f5e3cf67ac78 Mon Sep 17 00:00:00 2001 From: shoopea Date: Wed, 5 Feb 2020 11:30:36 +0800 Subject: [PATCH] test callback --- workers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/workers.go b/workers.go index b740268..4347307 100644 --- a/workers.go +++ b/workers.go @@ -318,6 +318,7 @@ func SQLCWMsgWorker(id int, msgs <-chan ChatWarsMessage, objIds chan<- int64) { log.Printf("SQLCWMsgWorker[%d] (%d) : Callback : %s : %s\n", id, m.ID64, c.Name, string(c.Data)) if c.Name == `📯Arena` { log.Printf("SQLCWMsgWorker[%d] (%d) : Callback : Arena spotted\n", id, m.ID64) + clientCallback(m.TGUserID64, m.ID64, m.ChatID64, c.Name, c.Data) } } }