This commit is contained in:
shoopea 2020-02-05 09:51:46 +08:00
parent 05a65dd0f3
commit 8283c9f56e

View File

@ -315,7 +315,7 @@ func SQLCWMsgWorker(id int, msgs <-chan ChatWarsMessage, objIds chan<- int64) {
for m := range msgs {
if len(m.Callbacks) != 0 {
for c := range m.Callbacks {
log.Printf("SQLCWMsgWorker[%d] (%d) : Callback : %s : %s\n", id, m.ID64, c.name, string(c.data))
log.Printf("SQLCWMsgWorker[%d] (%d) : Callback : %s : %s\n", id, m.ID64, c.Name, string(c.Data))
}
}
objId, err := addObjMsg(m.ID64, m.ChatID64, m.TGUserID64, m.TGSenderUserID64, m.Date, m.Text)