test callback

This commit is contained in:
shoopea 2020-02-05 11:30:36 +08:00
parent 9036da160a
commit cce3c11f5c

View File

@ -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)
}
}
}